Skip to content

Fix install.sh --without-cxx - #393

Merged
bonachea merged 3 commits into
BerkeleyLab:mainfrom
bonachea:without-cxx
Nov 11, 2026
Merged

bonachea merged 3 commits into
BerkeleyLab:mainfrom
bonachea:without-cxx

Conversation

@bonachea

Copy link
Copy Markdown
Member

It was intended/assumed that GASNet's --without-cxx configure option was
sufficient to allow a Caffeine user to deliberately install without a C++ compiler.
Unfortunately Caffeine's automatic compiler detection in install.sh was too
aggressive in finding and using a C++ compiler in many cases where one was
available.

Add explicit detection and documentation of --without-cxx to ensure this
case works as intended.

It was intended/assumed that GASNet's --without-cxx configure option was
sufficient to allow a Caffeine user to deliberately install without a C++ compiler.
Unfortunately Caffeine's automatic compiler detection in install.sh was too
aggressive in finding and using a C++ compiler in many cases where one was
available.

Add explicit detection and documentation of --without-cxx to ensure this
case works as intended.
@bonachea
bonachea requested a review from ktras November 11, 2026 04:52

@ktras ktras left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bonachea
bonachea merged commit a9a4747 into BerkeleyLab:main Nov 11, 2026
62 checks passed
@bonachea
bonachea deleted the without-cxx branch November 11, 2026 19:41
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