Skip to content

Commit

Permalink
Merge pull request #343 from duncanmmacleod/fix-cross-compile-cat-yum…
Browse files Browse the repository at this point in the history
…_requirements

Improve installing yum requirements with conda when cross compiling
  • Loading branch information
isuruf authored Sep 19, 2024
2 parents 1ebc7cf + a630f95 commit f44b97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe/cross_compile_support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then
mamba create -n sysroot_${HOST_PLATFORM} --yes --quiet sysroot_${HOST_PLATFORM}=${GLIBC_VERSION}
HOST_PLATFORM_ARCH=${HOST_PLATFORM:6}
if [[ -f ${RECIPE_ROOT}/yum_requirements.txt ]]; then
for pkg in $(cat ${RECIPE_ROOT}/yum_requirements.txt); do
cat ${RECIPE_ROOT}/yum_requirements.txt | while read pkg; do
if [[ "${pkg}" != "#"* && "${pkg}" != "" ]]; then
mamba install "${pkg}-cos7-${HOST_PLATFORM_ARCH}" -n sysroot_${HOST_PLATFORM} --yes --quiet || true
fi
Expand Down

0 comments on commit f44b97c

Please sign in to comment.