Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cross compile with pixi #375

Merged
merged 1 commit into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipe/cross_compile_support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then
fi
done
fi
export QEMU_LD_PREFIX=$(find ${CONDA_PREFIX}/envs/sysroot_${HOST_PLATFORM} -name sysroot | head -1)
export QEMU_LD_PREFIX=$(find /opt/conda/envs/sysroot_${HOST_PLATFORM} -name sysroot | head -1)
if [ -f ${CI_SUPPORT}/${CONFIG}.yaml ]; then
echo "CMAKE_CROSSCOMPILING_EMULATOR: " >> ${CI_SUPPORT}/${CONFIG}.yaml
echo "- /usr/bin/qemu-${HOST_PLATFORM_ARCH}-static" >> ${CI_SUPPORT}/${CONFIG}.yaml
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "conda-forge-ci-setup" %}
{% set version = "4.14.3" %}
{% set version = "4.14.4" %}
{% set build = 0 %}

{% set cuda_compiler_version = cuda_compiler_version or "None" %}
Expand Down
6 changes: 5 additions & 1 deletion recipe/run_conda_forge_build_setup_linux
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ if [ ! -z "$CONFIG" ]; then
echo "- ${CI}" >> ${CI_SUPPORT}/${CONFIG}.yaml
echo "" >> ${CI_SUPPORT}/${CONFIG}.yaml
fi
cat ${CI_SUPPORT}/${CONFIG}.yaml
fi

set -u
Expand Down Expand Up @@ -93,6 +92,11 @@ if [ -f ${CI_SUPPORT}/${CONFIG}.yaml ]; then
fi
fi

if [ ! -z "${CONFIG:-}" ]; then
cat ${CI_SUPPORT}/${CONFIG}.yaml
fi


conda info
conda config --env --show-sources
conda list --show-channel-urls