Branch: refs/heads/main
Revision: 9606d29
Author: mppf
Link: Minor build/printchplenv adjustments to support Homebrew by mppf · Pull Request #19504 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #19504 from mppf/linuxbrew-fixes
Minor build/printchplenv adjustments to support Homebrew
This PR fixes two problems I ran into when trying to get a linuxbrew
build of Chapel 1.26 working and one problem with trying the Homebrew (on
Mac OS X) formula
- don't
make -j
in gen_release to build the docs- this originated in #2709, potentially inadvertently
- unbounded
make -j
can run out of memory
- allow
CHPL_LLVM_GCC_PREFIX
to be set inchplconfig
and allow it to
be set tonone
- so that the linuxbrew formula can leave out the
--gcc-toolchain
flag since it should not be necessary there
- so that the linuxbrew formula can leave out the
- Add
CHPL_HOST_USE_SYSTEM_LIBCXX
environment variable to enable the
workaround from PR #19445. This environment variable is necessary
(instead of just detecting the existence ofbrew
) because otherwise
the workaround is not applied when building thechapel
formula
itself.
Reviewed by @e-kayrakli, @tzinsky and @ronawho - thanks!
-
[x] full local testing
-
[x] hello works on Mac OS X with Homebrew LLVM 13
-
[x] draft homebrew formula succeeds on Mac OS X
Modified Files:
M util/buildRelease/gen_release
M util/chplenv/chpl_llvm.py
M util/chplenv/overrides.pyCompare: Comparing 73e0bab7c5a4...9606d29df454 · chapel-lang/chapel · GitHub