diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 5f03018..e29c8b4 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -12,6 +12,8 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libboost_devel: +- '1.82' libflint: - '3.0' pin_run_as_build: diff --git a/.ci_support/linux_aarch64_.yaml b/.ci_support/linux_aarch64_.yaml index 0da1926..0649d0f 100644 --- a/.ci_support/linux_aarch64_.yaml +++ b/.ci_support/linux_aarch64_.yaml @@ -16,6 +16,8 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libboost_devel: +- '1.82' libflint: - '3.0' target_platform: diff --git a/.ci_support/linux_ppc64le_.yaml b/.ci_support/linux_ppc64le_.yaml index 2a9fa5c..fb3592a 100644 --- a/.ci_support/linux_ppc64le_.yaml +++ b/.ci_support/linux_ppc64le_.yaml @@ -12,6 +12,8 @@ docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 gmp: - '6' +libboost_devel: +- '1.82' libflint: - '3.0' target_platform: diff --git a/.ci_support/migrations/boost_cpp_to_libboost.yaml b/.ci_support/migrations/boost_cpp_to_libboost.yaml deleted file mode 100644 index d4da41e..0000000 --- a/.ci_support/migrations/boost_cpp_to_libboost.yaml +++ /dev/null @@ -1,21 +0,0 @@ -migrator_ts: 1695775149 -__migrator: - kind: version - migration_number: 1 - bump_number: 1 - commit_message: "Rebuild for libboost 1.82" - # limit the number of prs for ramp-up - pr_limit: 20 - max_solver_attempts: 3 # this will make the bot retry "not solvable" stuff 3 times -libboost_devel: - - 1.82 -# This migration is matched with a piggy-back migrator -# (see https://github.com/regro/cf-scripts/pull/1668) -# that will replace boost-cpp with libboost-devel -boost_cpp: - - 1.82 -# same for boost -> libboost-python-devel -libboost_python_devel: - - 1.82 -boost: - - 1.82 diff --git a/.ci_support/osx_64_.yaml b/.ci_support/osx_64_.yaml index b6fde12..18ff56e 100644 --- a/.ci_support/osx_64_.yaml +++ b/.ci_support/osx_64_.yaml @@ -10,6 +10,8 @@ cxx_compiler_version: - '14' gmp: - '6' +libboost_devel: +- '1.82' libflint: - '3.0' macos_machine: diff --git a/.ci_support/osx_arm64_.yaml b/.ci_support/osx_arm64_.yaml index cbfa14b..94598c3 100644 --- a/.ci_support/osx_arm64_.yaml +++ b/.ci_support/osx_arm64_.yaml @@ -10,6 +10,8 @@ cxx_compiler_version: - '14' gmp: - '6' +libboost_devel: +- '1.82' libflint: - '3.0' macos_machine: diff --git a/.gitignore b/.gitignore index c89ecb7..c002910 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,13 @@ -*.pyc +# User content belongs under recipe/. +# Feedstock configuration goes in `conda-forge.yml` +# Everything else is managed by the conda-smithy rerender process. +# Please do not modify + +* +!/conda-forge.yml -build_artifacts +!/*/ +!/recipe/** +!/.ci_support/** + +*.pyc diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 66db3fa..4cc5574 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -10,7 +10,7 @@ source: sha256: a38d2ab62c1b00fa2ee78f39039cc4d9d8e83de5fa5e2a18529ad34ab8976fe1 build: - number: 0 + number: 1 # Upstream doesn't support MSVC yet. skip: true # [win] @@ -29,7 +29,12 @@ outputs: - gnuconfig # [unix] - {{ compiler('cxx') }} host: - - libboost-headers + # We only need the libboost-headers at compile time. However, since we + # use bits of boost in our API, code built against libeantic must be + # built with a compatible version of the headers. Therefore, we add a + # liboost pin to our run exports so libboost-headers are going to be + # in a compatible version. + - libboost-devel - gmp # [unix] - mpir # [win] - libflint @@ -59,6 +64,8 @@ outputs: - gnuconfig # [unix] - {{ compiler('cxx') }} host: + # Note that the libboost-devel from libeantic forces these headers to be + # compatible with ones used when building libeantic. - libboost-headers - python - cppyy @@ -72,6 +79,9 @@ outputs: - cppyy - cppyythonizations - gmpxxyy + # cppyy dynamically compiles C++ wrappers at runtime, therefore we need C++ headers of boost. + # Note that the libboost-devel from libeantic forces these headers to be + # compatible with ones used when building libeantic. - libboost-headers # A subpackage does not see the run_exports of another subpackage: # https://github.com/conda/conda-build/issues/3478