Branch: refs/heads/main
Revision: 55ea9c7
Author: mppf
Link: Fix problem with make install for AUR package by mppf · Pull Request #19846 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #19846 from mppf/adjust-install
Fix problem with make install for AUR package
This PR makes 3 improvements motivated by the effort to create an Arch
Linux AUR package:
- adjusts
get_bundled_link_args
inutil/chplenv/third_party_utils.py
to fix a problem with falling back on a-l
flag if the.la
file
for the library is missing since the AUR install process removes the
.la
files. This fallback logic originated in #15000 but was
disrupted by later changes to that function. - adjusts
chpl --print-chpl-settings
to print out all internal
settings if--devel
is also passed (to make it easier to debug
problems with chplenv scripts) - adjusts
install.sh
to only consider it a staged install if the stage
directory is not the empty string (since the Makefile calling it
always passes--stage=${DESTDIR}
. As far as I know, this does not
change the behavior of install.sh, but it fixes something that would
probably be confusing if relied upon in more ways.
Reviewed by @ronawho - thanks!
-
[x] full local testing
Modified Files:
M compiler/main/driver.cpp
M util/buildRelease/install.sh
M util/chplenv/third_party_utils.pyCompare: Comparing e0443ce1b901...55ea9c74327a · chapel-lang/chapel · GitHub