Merge pull request #1323 from Pmodules/1322-build-system-set-cc-and-cxx-if-not-defined

1322 build system set cc and cxx if not defined
This commit is contained in:
2025-11-27 10:51:33 +01:00
committed by GitHub
2 changed files with 13 additions and 2 deletions
+11
View File
@@ -1,5 +1,16 @@
# Changelog of Pmodules
## Version 2.0.3
### modulecmd
### build system
* set CC and CXX if not defined. This was a bug introduced in 2.0.2
### building Pmodules
* path to Lua installation fixed in recipe to build luarocks
(#1320)
## Version 2.0.2
Migragtion to GitHub:
+2 -2
View File
@@ -648,8 +648,8 @@ pbuild::compile() {
unset V
fi
(( JOBS == 0 )) && JOBS=$(_get_num_cores)
std::info "CC=$CC"
std::info "CXX=$CXX"
[[ -v CC ]] || CC=cc
[[ -v CXX ]] || CXX=c++
/bin/bash -c "CC=$CC CXX=$CXX ${make} -j${JOBS} -e" || \
std::die 3 \
"%s " "${module_name}/${module_version}:" \