Skip to content

Commit

Permalink
Fix macos by removing brew update. (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise authored Mar 12, 2024
1 parent add9e35 commit 09a5648
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install automake
- name: Install automake # remove 'brew update' due to it erroring out when installing libomp, may be fixed later.
run: |
brew update
brew install automake ninja llvm libomp pkg-config molten-vk vulkan-headers ncnn
export LDFLAGS="-L/usr/local/opt/libomp/lib"
export CPPFLAGS="-I/usr/local/opt/libomp/include"
brew install libomp
brew install llvm
brew install automake ninja pkg-config molten-vk vulkan-headers ncnn
- name: Setup Python
uses: actions/setup-python@v3
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,12 @@ jobs:

- name: Install automake
run: |
brew update
brew install automake ninja llvm libomp pkg-config molten-vk vulkan-headers ncnn
export LDFLAGS="-L/usr/local/opt/libomp/lib"
export CPPFLAGS="-I/usr/local/opt/libomp/include"
brew install libomp
brew install llvm
brew install automake ninja pkg-config molten-vk vulkan-headers ncnn
- name: Setup Python
uses: actions/setup-python@v3
Expand Down

0 comments on commit 09a5648

Please sign in to comment.