Skip to content

Fix using Pixi-provided compilers on Linux#2123

Open
speth wants to merge 2 commits into
Cantera:mainfrom
speth:fix-2118-pixi-gcc
Open

Fix using Pixi-provided compilers on Linux#2123
speth wants to merge 2 commits into
Cantera:mainfrom
speth:fix-2118-pixi-gcc

Conversation

@speth
Copy link
Copy Markdown
Member

@speth speth commented May 30, 2026

Changes proposed in this pull request

  • Make SCons look for CC/CXX/AR/FC environment variables for compiler setup (overridden by command line options and cantera.conf)
  • Install the preferred compiler toolchain package rather than just the compiler package in Pixi environments, which sets the aforementioned variables and also avoids aliasing the system compiler toolchain's binaries.

If applicable, fill in the issue number this pull request is fixing

AI Statement (required)

  • Extensive use of generative AI. Significant portions of code or documentation were generated with AI, including
    logic and implementation decisions. All generated code and documentation were reviewed and understood by the contributor. Implemented using Claude Code (Opus 4.8).

Checklist

  • The pull request includes a clear description of this code change
  • Commit messages have short titles and reference relevant issues
  • Build passes (scons build & scons test) and unit tests address code coverage
  • Style & formatting of contributed code follows contributing guidelines
  • AI Statement is included
  • The pull request is ready for review

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
These packages provide a complete toolchain and set the CC/CXX/AR
environment variables (which SCons now looks for), allowing for a
consistent compiler environment whether or not system compilers are
present.

Fixes Cantera#2118.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@speth speth force-pushed the fix-2118-pixi-gcc branch from 0954ab4 to ab2ce49 Compare May 30, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure on Ubuntu 26.04 LTS/pixi with GCC 15.2.0

1 participant