Skip to content

Commit

Permalink
Forgot that conda build sets the compiler in a different place. Tryin…
Browse files Browse the repository at this point in the history
…g this to set the

compiler version on Linux, while hopefully leaving it alone for other OSs.

This does work - a local test shows that gemmi now passes when the compiler versions
match.
  • Loading branch information
chryswoods committed Jan 1, 2024
1 parent 2cf80bd commit f42727c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 0 additions & 2 deletions recipes/sire/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ build:

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
SIRE_BUILD_REQUIREMENTS
host:
SIRE_HOST_REQUIREMENTS
Expand Down
9 changes: 9 additions & 0 deletions requirements_build.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Build requirements for Sire.

# Need to specify the compiler as we have to control the version
gcc==12.3.0 ; sys_platform == "linux"
gxx==12.3.0 ; sys_platform == "linux"

clang ; sys_platform == "darwin"
clangxx ; sys_platform == "darwin"

vc ; sys_platform == "win32"

cmake
git
python
Expand Down

0 comments on commit f42727c

Please sign in to comment.