You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ompi/tools/wrappers/ompi_wrapper_script.in: add missing variable name prefixes
When open-mpi is compiled with script wrapper compilers option:
./configure --enable-script-wrapper-compilers ...
The generated wrappers emit warnings:
Use of uninitialized value $cppflags in substitution (s///) at ./mpicc line 67.
Use of uninitialized value $cflags in substitution (s///) at ./mpicc line 68.
Use of uninitialized value $cflags_prefix in substitution (s///) at ./mpicc line 69.
Use of uninitialized value $cxxflags in substitution (s///) at ./mpicc line 70.
Use of uninitialized value $cxxflags_prefix in substitution (s///) at ./mpicc line 71.
Use of uninitialized value $fcflags in substitution (s///) at ./mpicc line 72.
Use of uninitialized value $fcflags_prefix in substitution (s///) at ./mpicc line 73.
Use of uninitialized value $ldflags in substitution (s///) at ./mpicc line 74.
Use of uninitialized value $ldflags_static in substitution (s///) at ./mpicc line 75.
Use of uninitialized value $fc_ldflags in substitution (s///) at ./mpicc line 78.
Use of uninitialized value $fc_ldflags_static in substitution (s///) at ./mpicc line 79.
Use of uninitialized value $fc_libs in substitution (s///) at ./mpicc line 80.
Use of uninitialized value $fc_libs_static in substitution (s///) at ./mpicc line 81.
Commit 1f18b20
"wrappers: Improve static library handling" introduced new global
variables prefixed with "wrapper_". A block of code to fixup
directories is using variables without the prefix in their names.
This commit fixes this issue by correctly naming the variables.
Signed-off-by: Julien Olivain <ju.o@free.fr>
0 commit comments