@@ -21,7 +21,7 @@ CONAN_PROFILE=conan-profile-${RUNNER_OS}-${RUNNER_ARCH}
2121# gradually happen and finally break the build.
2222# To the contrary, you may need to upgrade this commit when you want to upgrade
2323# a given dependency.
24- CONAN_COMMIT=d60a35f00bf85fd1abf2df0877878f54404e3df0
24+ CONAN_COMMIT=500fc1507de61f99c2fc3e2711a2636e9a949feb
2525
2626# Debug utility (install a specific package)
2727function debug() {
@@ -33,7 +33,7 @@ function debug() {
3333 --build=" *"
3434}
3535
36- # Script starts here
36+ # THIS SCRIPT STARTS HERE
3737
3838# 0. Initialize: set globals and install conan and ninja
3939set -exo pipefail
@@ -77,9 +77,9 @@ if [ ! -d "conan-center-index" ]; then
7777 # git remote add "upstream" git@github.com:conan-io/conan-center-index.git
7878 # git fetch upstream pull/29758/head:giflib
7979 # git cherry-pick 0e95d1b1e8380d72df48c7c48efe14f39239826a
80- git config --global user.name " LuxCoreDeps"
81- git config --global user.email " luxcoredeps@luxcore.com"
82- curl -L https://github.com/conan-io/conan-center-index/pull/29758.patch | git am
80+ # git config --global user.name "LuxCoreDeps"
81+ # git config --global user.email "luxcoredeps@luxcore.com"
82+ # curl -L https://github.com/conan-io/conan-center-index/pull/29758.patch | git am
8383
8484 cd ..
8585fi
@@ -120,7 +120,9 @@ echo "::group::CIBW_BEFORE_BUILD: Install tool requirements"
120120# We specify conancenter as a remote, thus allowing to use precompiled
121121# binaries.
122122# For pkgconf and meson, we have to manually target the right version
123- build_deps=(b2/[* ] cmake/[* ] m4/[* ] pkgconf/2.1.0 meson/1.2.2 yasm/[* ])
123+ # b2 is required to be built from source (therefore not in the below list, for
124+ # libc compatibility
125+ build_deps=(cmake/[* ] m4/[* ] pkgconf/2.1.0 meson/1.2.2 yasm/[* ])
124126if [[ $RUNNER_OS == " Windows" ]]; then
125127 build_deps+=(msys2/[* ])
126128fi
@@ -129,8 +131,7 @@ for d in "${build_deps[@]}"; do
129131 --tool-requires=${d} \
130132 --profile:all=$CONAN_PROFILE \
131133 --build=missing \
132- --remote=conancenter \
133- --build=b2/*
134+ --remote=conancenter
134135done
135136echo " ::endgroup::"
136137
@@ -175,7 +176,11 @@ echo "::endgroup::"
175176
176177# 8. Save result
177178echo " ::group::Saving dependencies in ${cache_dir} "
178- conan cache clean " *" # Clean non essential files
179+ if [[ -n " $CI " ]]; then
180+ # Clean non essential files, but only for CI, as we consider that non-CI
181+ # builds are debugging builds and should be provided maximal data
182+ conan cache clean " *"
183+ fi
179184conan remove -c -vverbose " */*#!latest" # Keep only latest version of each package
180185# Save only dependencies of current target (otherwise cache gets bloated)
181186conan graph info \
0 commit comments