Skip to content

Commit

Permalink
hack
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Apr 1, 2024
1 parent 5d680b8 commit 4ff31e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/watchos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,14 @@ jobs:
if: steps.cache-openmp.outputs.cache-hit != 'true'
run: |
cd openmp-${{ env.OPENMP_VERSION }}.src
wget https://github.com/nihui/llvm-project/commit/82ffbddacd16d4d088e7c0ffccdb58517e20ea4d.patch
patch -p2 -i 82ffbddacd16d4d088e7c0ffccdb58517e20ea4d.patch
mkdir -p build-arm64_32 && cd build-arm64_32
cmake ${{ env.OPENMP_CMAKE_OPTIONS }} -DPLATFORM=WATCHOS -DARCHS="arm64_32" ..
cmake --build . -j 4
cmake --build . --target install
cd ..
patch -R -p2 -i 82ffbddacd16d4d088e7c0ffccdb58517e20ea4d.patch
- name: openmp-simulator-x86_64
if: steps.cache-openmp.outputs.cache-hit != 'true'
run: |
Expand Down

0 comments on commit 4ff31e2

Please sign in to comment.