I find that without the following 1-line change, the -g++
option to makelocalrc
is broken in at least the aarch64 release of NIVIDIA HPC SDK 20.7.
--- makelocalrc~ 2020-08-14 03:44:20.298415000 -0400
+++ makelocalrc 2020-08-14 03:44:30.081396000 -0400
@@ -248,7 +248,7 @@
-lnet) locdir= ; network=1 ;; # undocumented, internal testing only
-link) linkfiles=1 ;; # undocumented, internal testing only
-gcc ) shift; gcc="$1" ;;
- -g++ ) shift; g++="$1" ;;
+ -g++ ) shift; gpp="$1" ;;
-g77 ) shift; g77="$1" ;;
-llvmdir ) shift; llvmdir="$1" ;;
-saverc ) dosaverc=1 ;;