[CI] Fix failing arm build (#8751)
* Always install Conda env into /opt/python; use Mamba * Change ownership of Conda env to buildkite-agent user * Use unique name * Fix
This commit is contained in:
committed by
GitHub
parent
0e61ba57d6
commit
dd79ab846f
@@ -7,6 +7,13 @@ then
|
||||
echo "Activating Conda environment ${conda_env}"
|
||||
shift 1
|
||||
cmake_args="$@"
|
||||
|
||||
# Workaround for file permission error
|
||||
if [[ -n $CI_BUILD_UID ]]
|
||||
then
|
||||
gosu root chown -R "${CI_BUILD_UID}:${CI_BUILD_GID}" /opt/mambaforge/envs
|
||||
fi
|
||||
|
||||
source activate ${conda_env}
|
||||
cmake_prefix_flag="-DCMAKE_PREFIX_PATH=$CONDA_PREFIX"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user