Skip to content

Conda build config

Similar to conda-forge, we globally pin packages. This is essentially a list of packages and versions such as

# ...
numpy:
  - 1.25.2
occt:
  - '7.5'
openblas:
  - 0.3.*
openexr:
  - 2.5
openjpeg:
  - '2.4'
openmpi:
  - 4
openssl:
  - 1.1.1
openturns:
  - '1.18'
orc:
  - 1.7.2
# ...

This list is used to pin the versions of the dependencies in the recipe.yaml of recipes.

Therefore, instead of writing

requirements:
  host:
    - numpy 1.25.2
  run:
    - numpy 1.25.2

we can write

requirements:
  host:
    - numpy
  run:
    - numpy
Furthermore, this build-config specifies which compiler to use for each platform. While conda-forge build configuration can be found here, we need to maintain our own conda-build-config. In particular, we need to set up the emscripten compiler.

Note

The conda-build-config of emscripten-forge uses the rattler-recipes format

cxx_compiler:
  - if: emscripten
    then:
      - emscripten
  - if: linux
    then:
      - gxx
  - if: osx
    then:
      - clangxx