Skip to content

Avoid homebrew issues with gasnet saving homebrew shim#27626

Merged
jabraham17 merged 1 commit intochapel-lang:mainfrom
jabraham17:patch-gasnet
Aug 11, 2025
Merged

Avoid homebrew issues with gasnet saving homebrew shim#27626
jabraham17 merged 1 commit intochapel-lang:mainfrom
jabraham17:patch-gasnet

Conversation

@jabraham17
Copy link
Member

@jabraham17 jabraham17 commented Aug 8, 2025

The recent PR to add gasnet to the homebrew formula broke some homebrew audits, because gasnet is storing some homebrew internal paths. Since we don't make use of those files in homebrew anyways, we can just remove them

[Reviewed by @arifthpe]

Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
@jabraham17 jabraham17 requested a review from arifthpe August 8, 2025 20:27
@jabraham17 jabraham17 merged commit 9a28890 into chapel-lang:main Aug 11, 2025
10 checks passed
@jabraham17 jabraham17 deleted the patch-gasnet branch August 11, 2025 16:12
jabraham17 added a commit that referenced this pull request Aug 12, 2025
Ignore errors when GASNET_INC_MAKEFILE is missing. This should only
occur when someone explicitly deletes a gasnet include makefile, like in
the homebrew formula (see #27626).

#27626 removed the gasnet include makefiles because they hardcode an
incorrect compiler path from homebrew. This is fine, because once Chapel
is built those makefiles aren't needed. But they are needed to run `make
check`, which `brew test chapel` will run

[Reviewed by @arifthpe]
arifthpe added a commit to arifthpe/homebrew-core that referenced this pull request Sep 19, 2025
arifthpe added a commit to arifthpe/homebrew-core that referenced this pull request Sep 19, 2025
arifthpe added a commit to arifthpe/homebrew-core that referenced this pull request Sep 26, 2025
Apply the following improvements/fixes from upstream releases 2.5 and
2.6:
- chapel-lang/chapel#26937
- chapel-lang/chapel#27535
- chapel-lang/chapel#27546
- chapel-lang/chapel#27564
- chapel-lang/chapel#27626
- chapel-lang/chapel#27653

Additionally, disable gasnet+smp build and test on linux/arm64 to work
around an as yet undiagnosed build failure on the platform.

Includes a hack to allow gasnet+smp checkChplInstall testing to succeed
on a system with less than 4 cores, to be removed once there's an
upstream fix.

Adds a requirement of arm64 arch on macOS, as we've encountered
portability issues with gasnet+smp on x86_64 macOS 14, which we don't
have the time to fix at the moment and aren't worth denying the feature
to other platforms over.
arifthpe added a commit to arifthpe/homebrew-core that referenced this pull request Sep 26, 2025
jabraham17 added a commit to jabraham17/homebrew-core that referenced this pull request Oct 7, 2025
Apply the following improvements/fixes from upstream releases 2.5 and
2.6:
- chapel-lang/chapel#26937
- chapel-lang/chapel#27535
- chapel-lang/chapel#27546
- chapel-lang/chapel#27564
- chapel-lang/chapel#27626
- chapel-lang/chapel#27653
- chapel-lang/chapel#27865

Addresses feedback given in Homebrew#244962

Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants