Skip to content

Commit

Permalink
Try linking some includes
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Dec 5, 2023
1 parent 0bc190b commit 4c6a15e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ jobs:
rm -f /usr/bin/ld && ln -s /host/usr/bin/${TOOLCHAIN_NAME}-ld /usr/bin/ld &&
rm -f /usr/bin/ld.bfd && ln -s /host/usr/bin/${TOOLCHAIN_NAME}-ld.bfd /usr/bin/ld.bfd &&
rm -f /usr/bin/ninja && ln -s /host/usr/bin/ninja /usr/bin/ninja &&
rm -f /use/include/stddef.h && ln -s /host/usr/include/${TOOLCHAIN_NAME}/include/stddef.h /use/include/stddef.h &&
rm -f /use/include/limits.h && ln -s /host/usr/include/${TOOLCHAIN_NAME}/include/limits.h /use/include/limits.h &&
git config --global --add safe.directory /gfort2py &&
python -m pip install build wheel pytest &&
rm -f /usr/local/bin/ninja && mkdir -p /usr/local/bin && ln -s /host/usr/bin/ninja /usr/local/bin/ninja
Expand All @@ -113,7 +115,7 @@ jobs:
run: |
docker run --rm -e "TERM=xterm-256color" -v $(pwd):/gfort2py -v /:/host the_container \
/bin/script -e -q -c "/bin/bash --noprofile --norc -eo pipefail -c '
cd /gfort2py && python -m pip --global-option=build_ext --global-option="-I/usr/include/${TOOLCHAIN_NAME}/include/" install .
cd /gfort2py && python -m pip install .
'"
- name: Run Tests
run: |
Expand Down

0 comments on commit 4c6a15e

Please sign in to comment.