Skip to content

Commit

Permalink
Cross compile libc6-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Dec 5, 2023
1 parent c7b995f commit d887dbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Install GCC cross-compilers
run: |
sudo apt-get update
sudo apt-get install -y ninja-build gcc-${TOOLCHAIN_NAME} g++-${TOOLCHAIN_NAME} gfortran-${TOOLCHAIN_NAME}
sudo apt-get install -y ninja-build gcc-${TOOLCHAIN_NAME} g++-${TOOLCHAIN_NAME} gfortran-${TOOLCHAIN_NAME} libc6-dev-${TOOLCHAIN_NAME}-cross
- name: Cache docker container
uses: actions/cache@v3
Expand All @@ -78,7 +78,7 @@ jobs:
run: |
docker run --name the_container --interactive -v /:/host -v $(pwd):/gfort2py ${DOCKER_CONTAINER} /bin/bash -c "
apt-get update &&
apt-get install -y cmake git python3 python-is-python3 python3-dev python3-pip python3-numpy automake libc6-dev &&
apt-get install -y cmake git python3 python-is-python3 python3-dev python3-pip python3-numpy automake &&
mkdir -p /lib64 && ln -s /host/lib64/ld-* /lib64/ &&
ln -s /host/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu &&
rm -rf /usr/${TOOLCHAIN_NAME} && ln -s /host/usr/${TOOLCHAIN_NAME} /usr/${TOOLCHAIN_NAME} &&
Expand Down

0 comments on commit d887dbd

Please sign in to comment.