Skip to content

Commit

Permalink
use CXX and CXXFLAGS instead of hardcoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Dec 10, 2023
1 parent 950660d commit f40c6fb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/l/LERC/LERC-3.0-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ postinstallcmds = [
"cd %(builddir)s/lerc-%(version)s/src/LercTest && sed -i -e 's@../LercLib/include/@@' main.cpp",
"mkdir %(installdir)s/LercTest",
"cp %(builddir)s/lerc-%(version)s/src/LercTest/main.cpp %(installdir)s/LercTest/main.cpp",
"cd %(installdir)s/LercTest && g++ main.cpp -o LercTest -I../include -L../lib -lLerc",
"cd %(installdir)s/LercTest && ${CXX} ${CXXFLAGS} main.cpp -o LercTest -I../include -L../lib -lLerc",
]

sanity_check_commands = [
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/l/LERC/LERC-3.0-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ postinstallcmds = [
"cd %(builddir)s/lerc-%(version)s/src/LercTest && sed -i -e 's@../LercLib/include/@@' main.cpp",
"mkdir %(installdir)s/LercTest",
"cp %(builddir)s/lerc-%(version)s/src/LercTest/main.cpp %(installdir)s/LercTest/main.cpp",
"cd %(installdir)s/LercTest && g++ main.cpp -o LercTest -I../include -L../lib -lLerc",
"cd %(installdir)s/LercTest && ${CXX} ${CXXFLAGS} main.cpp -o LercTest -I../include -L../lib -lLerc",
]

sanity_check_commands = [
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/l/LERC/LERC-4.0.0-GCCcore-11.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ postinstallcmds = [
"cd %(builddir)s/lerc-%(version)s/src/LercTest && sed -i -e 's@../LercLib/include/@@' main.cpp",
"mkdir %(installdir)s/LercTest",
"cp %(builddir)s/lerc-%(version)s/src/LercTest/main.cpp %(installdir)s/LercTest/main.cpp",
"cd %(installdir)s/LercTest && g++ main.cpp -o LercTest -I../include -L../lib -lLerc",
"cd %(installdir)s/LercTest && ${CXX} ${CXXFLAGS} main.cpp -o LercTest -I../include -L../lib -lLerc",
]

sanity_check_commands = [
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/l/LERC/LERC-4.0.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ postinstallcmds = [
"cd %(builddir)s/lerc-%(version)s/src/LercTest && sed -i -e 's@../LercLib/include/@@' main.cpp",
"mkdir %(installdir)s/LercTest",
"cp %(builddir)s/lerc-%(version)s/src/LercTest/main.cpp %(installdir)s/LercTest/main.cpp",
"cd %(installdir)s/LercTest && g++ main.cpp -o LercTest -I../include -L../lib -lLerc",
"cd %(installdir)s/LercTest && ${CXX} ${CXXFLAGS} main.cpp -o LercTest -I../include -L../lib -lLerc",
]

sanity_check_commands = [
Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/l/LERC/LERC-4.0.0-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ postinstallcmds = [
"cd %(builddir)s/lerc-%(version)s/src/LercTest && sed -i -e 's@../LercLib/include/@@' main.cpp",
"mkdir %(installdir)s/LercTest",
"cp %(builddir)s/lerc-%(version)s/src/LercTest/main.cpp %(installdir)s/LercTest/main.cpp",
"cd %(installdir)s/LercTest && g++ main.cpp -o LercTest -I../include -L../lib -lLerc",
"cd %(installdir)s/LercTest && ${CXX} ${CXXFLAGS} main.cpp -o LercTest -I../include -L../lib -lLerc",
]

sanity_check_commands = [
Expand Down

0 comments on commit f40c6fb

Please sign in to comment.