Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,11 @@ config_options = [
Option(
"AR",
"The archiver to use.",
"${AR}"),
os.environ.get("AR") or "${AR}"),
Option(
"CXX",
"The C++ compiler to use.",
"${CXX}"),
os.environ.get("CXX") or "${CXX}"),
Option(
"cxx_flags",
"""Compiler flags passed to the C++ compiler only. Separate multiple
Expand All @@ -330,7 +330,7 @@ config_options = [
Option(
"CC",
"The C compiler to use. This is only used to compile CVODE.",
"${CC}"),
os.environ.get("CC") or "${CC}"),
Option(
"cc_flags",
"""Compiler flags passed to both the C and C++ compilers, regardless of
Expand Down Expand Up @@ -397,10 +397,11 @@ config_options = [
"default", ("y", "n", "default")),
PathOption(
"FORTRAN",
"""The Fortran (90) compiler. If unspecified, the builder will look for a
compatible compiler (pgfortran, gfortran, ifort, ifx, g95) in the 'PATH'
environment variable. Used only for compiling the Fortran 90 interface.""",
"", PathVariable.PathAccept),
"""The Fortran (90) compiler. If unspecified, the 'FC' environment variable is
used if set; otherwise the builder will look for a compatible compiler
(pgfortran, gfortran, ifort, ifx, g95) in the 'PATH' environment variable.
Used only for compiling the Fortran 90 interface.""",
os.environ.get("FC") or "", PathVariable.PathAccept),
Option(
"FORTRANFLAGS",
"Compilation options for the Fortran (90) compiler.",
Expand Down
8 changes: 7 additions & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ pytest = ">=9.0.2,<10"
"ruamel.yaml" = ">=0.19.1,<0.20"
jinja2 = ">=3.1.6,<4"

# Provide a self-consistent compiler toolchain matching the conda-forge-built
# dependencies. The activation packages set CC/CXX/AR, which SConstruct honors. To build
# with the system compiler instead, set `CXX = "g++"` and `CC = "gcc"` in cantera.conf.
[feature.core.target.linux-64.dependencies]
clangxx = ">=18.0"
gxx_linux-64 = ">=13"

[feature.core.target.linux-aarch64.dependencies]
gxx_linux-aarch64 = ">=13"

[feature.samples.dependencies]
pandas = ">=3.0.0,<4"
Expand Down
Loading