
* Enable packages to use the NVIDIA HPC SDK * fix linter and review items * fix linter issue Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
76 lines
3.8 KiB
Diff
76 lines
3.8 KiB
Diff
--- a/configure 2020-08-20 14:10:40.050641106 -0700
|
|
+++ b/configure 2020-08-20 14:15:03.473674334 -0700
|
|
@@ -38272,7 +38272,7 @@
|
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
|
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
|
|
if test -n "$ac_tool_prefix"; then
|
|
- for ac_prog in gfortran f95 fort xlf95 ifort ifc efc pgfortran pgf95 lf95 f90 xlf90 pgf90 epcf90 nagfor
|
|
+ for ac_prog in gfortran f95 fort xlf95 ifort ifc efc pgfortran nvfortran pgf95 lf95 f90 xlf90 pgf90 epcf90 nagfor
|
|
do
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
@@ -38316,7 +38316,7 @@
|
|
fi
|
|
if test -z "$FC"; then
|
|
ac_ct_FC=$FC
|
|
- for ac_prog in gfortran f95 fort xlf95 ifort ifc efc pgfortran pgf95 lf95 f90 xlf90 pgf90 epcf90 nagfor
|
|
+ for ac_prog in gfortran f95 fort xlf95 ifort ifc efc pgfortran nvfortran pgf95 lf95 f90 xlf90 pgf90 epcf90 nagfor
|
|
do
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
set dummy $ac_prog; ac_word=$2
|
|
@@ -384411,7 +384411,7 @@
|
|
lt_prog_compiler_pic='-fPIC'
|
|
lt_prog_compiler_static='-static'
|
|
;;
|
|
- pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
|
|
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran* | nvc | nvfortran*)
|
|
# Portland Group compilers (*not* the Pentium gcc compiler,
|
|
# which looks to be a dead project)
|
|
lt_prog_compiler_wl='-Wl,'
|
|
@@ -385050,11 +385050,11 @@
|
|
tmp_addflag=' $pic_flag'
|
|
tmp_sharedflag='-shared'
|
|
case $cc_basename,$host_cpu in
|
|
- pgcc*) # Portland Group C compiler
|
|
+ pgcc* | nvc) # Portland Group C compiler
|
|
whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
|
tmp_addflag=' $pic_flag'
|
|
;;
|
|
- pgf77* | pgf90* | pgf95* | pgfortran*)
|
|
+ pgf77* | pgf90* | pgf95* | pgfortran* | nvfortran*)
|
|
# Portland Group f77 and f90 compilers
|
|
whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
|
tmp_addflag=' $pic_flag -Mnomain' ;;
|
|
@@ -391724,7 +391724,7 @@
|
|
lt_prog_compiler_pic_FC='-fPIC'
|
|
lt_prog_compiler_static_FC='-static'
|
|
;;
|
|
- pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
|
|
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran* | nvc | nvfortran*)
|
|
# Portland Group compilers (*not* the Pentium gcc compiler,
|
|
# which looks to be a dead project)
|
|
lt_prog_compiler_wl_FC='-Wl,'
|
|
@@ -391766,7 +391766,7 @@
|
|
lt_prog_compiler_pic_FC='-fPIC'
|
|
lt_prog_compiler_static_FC='-static'
|
|
;;
|
|
- *Portland\ Group*)
|
|
+ *Portland\ Group* | *NVIDIA\ Compilers* | *PGI\ Compilers*)
|
|
lt_prog_compiler_wl_FC='-Wl,'
|
|
lt_prog_compiler_pic_FC='-fpic'
|
|
lt_prog_compiler_static_FC='-Bstatic'
|
|
@@ -392348,11 +392348,11 @@
|
|
tmp_addflag=' $pic_flag'
|
|
tmp_sharedflag='-shared'
|
|
case $cc_basename,$host_cpu in
|
|
- pgcc*) # Portland Group C compiler
|
|
+ pgcc* | nvc) # Portland Group C compiler
|
|
whole_archive_flag_spec_FC='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
|
tmp_addflag=' $pic_flag'
|
|
;;
|
|
- pgf77* | pgf90* | pgf95* | pgfortran*)
|
|
+ pgf77* | pgf90* | pgf95* | pgfortran* | nvfortran*)
|
|
# Portland Group f77 and f90 compilers
|
|
whole_archive_flag_spec_FC='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
|
tmp_addflag=' $pic_flag -Mnomain' ;;
|