Skip to content

Commit

Permalink
Remove dedicated macos compiler config
Browse files Browse the repository at this point in the history
Dedicated compiler configuration does not seem to be necessary anymore
on macos runners.
  • Loading branch information
bertschneider committed Jan 18, 2023
1 parent 8afb04f commit 3a434dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ jobs:
with:
node-version: 16
cache: "npm"
- name: install dependencies (macos)
if: contains(matrix.os, 'macos')
run: |
brew install cmake llvm@14
LLVM_PATH=$(brew --prefix llvm@14)
LLVM_CONFIG_PATH=$LLVM_PATH/bin/llvm-config
echo "CC=$($LLVM_CONFIG_PATH --bindir)/clang" >> $GITHUB_ENV
echo "CXX=$($LLVM_CONFIG_PATH --bindir)/clang++" >> $GITHUB_ENV
echo "CFLAGS=$($LLVM_CONFIG_PATH --cflags)" >> $GITHUB_ENV
echo "CXXFLAGS=$($LLVM_CONFIG_PATH --cxxflags)" >> $GITHUB_ENV
echo "LDFLAGS=$($LLVM_CONFIG_PATH --ldflags)" >> $GITHUB_ENV
echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
echo "PATH=$PATH:$($LLVM_CONFIG_PATH --bindir)" >> $GITHUB_ENV
- name: MSVC (windows)
uses: ilammy/msvc-dev-cmd@d8610e2b41c6d0f0c3b4c46dad8df0fd826c68e1
if: contains(matrix.os, 'windows')
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/run-all-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,6 @@ jobs:
with:
node-version: 16
cache: "npm"
- name: install dependencies (macos)
if: contains(matrix.os, 'macos')
run: |
brew install cmake llvm@14
LLVM_PATH=$(brew --prefix llvm@14)
LLVM_CONFIG_PATH=$LLVM_PATH/bin/llvm-config
echo "CC=$($LLVM_CONFIG_PATH --bindir)/clang" >> $GITHUB_ENV
echo "CXX=$($LLVM_CONFIG_PATH --bindir)/clang++" >> $GITHUB_ENV
echo "CFLAGS=$($LLVM_CONFIG_PATH --cflags)" >> $GITHUB_ENV
echo "CXXFLAGS=$($LLVM_CONFIG_PATH --cxxflags)" >> $GITHUB_ENV
echo "LDFLAGS=$($LLVM_CONFIG_PATH --ldflags)" >> $GITHUB_ENV
echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
- name: MSVC (windows)
uses: ilammy/msvc-dev-cmd@v1
if: contains(matrix.os, 'windows')
Expand Down

0 comments on commit 3a434dc

Please sign in to comment.