Skip to content

Commit

Permalink
ci: build without openmp
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <[email protected]>
  • Loading branch information
thxCode committed Jan 21, 2025
1 parent 039bd95 commit 73984bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ jobs:
echo "===== SCRIPT ====="
cat <<EOF > /tmp/entrypoint.sh
#!/bin/bash
# NB(thxCode): workaround to avoid using OpenMP.
rm -rf /opt/rh/devtoolset-9/root/usr/lib/gcc/\$(uname -m)-redhat-linux/9/libgomp* || true
rm -rf /opt/rh/gcc-toolset-11/root/usr/lib/gcc/\$(uname -m)-redhat-linux/11/libgomp* || true
rm -rf /usr/lib/gcc/\$(uname -m)-linux-gnu/11/libgomp* || true
rm -rf /opt/openEuler/gcc-toolset-10/root/usr/lib/gcc/\$(uname -m)-linux-gnu/10/libgomp* || true
git config --system --add safe.directory '*'
mkdir -p ${{ github.workspace }}/.cache
echo "===== BUILD ====="
Expand Down

0 comments on commit 73984bb

Please sign in to comment.