Skip to content

Commit 6ecf834

Browse files
authored
Merge pull request #757 from google-research/macos-llvm-12
Try to fix LLVM 12 build on macOS
2 parents 2df5549 + cfc1867 commit 6ecf834

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/workflows/haskell-ci.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
# os: [ubuntu-20.04, macos-latest]
15-
os: [ubuntu-20.04]
14+
os: [ubuntu-20.04, macos-latest]
1615
include:
17-
# - os: macos-latest
18-
# install_deps: brew install llvm@12 pkg-config wget gzip
19-
# path_extension: $(brew --prefix llvm@12)/bin
16+
- os: macos-latest
17+
install_deps: brew install llvm@12 pkg-config wget gzip
18+
path_extension: $(brew --prefix llvm@12)/bin
2019
- os: ubuntu-20.04
2120
install_deps: sudo apt-get install llvm-12-tools llvm-12-dev pkg-config wget gzip
2221
path_extension: /usr/lib/llvm-12/bin
@@ -56,11 +55,11 @@ jobs:
5655
key: ${{ runner.os }}-v3-${{ hashFiles('**/*.cabal', 'stack*.yaml') }}
5756
restore-keys: ${{ runner.os }}-v2-
5857

59-
# # This step is a workaround.
60-
# # See issue for context: https://github.com/actions/cache/issues/445
61-
# - name: Remove cached Setup executables
62-
# run: rm -rf ~/.stack/setup-exe-cache
63-
# if: runner.os == 'macOS'
58+
# This step is a workaround.
59+
# See issue for context: https://github.com/actions/cache/issues/445
60+
- name: Remove cached Setup executables
61+
run: rm -rf ~/.stack/setup-exe-cache
62+
if: runner.os == 'macOS'
6463

6564
- name: Build, treating warnings as errors
6665
run: make build-ci

stack-macos.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
# license that can be found in the LICENSE file or at
55
# https://developers.google.com/open-source/licenses/bsd
66

7-
resolver: lts-16.26
7+
resolver: lts-18.23
88

99
packages:
1010
- .
1111

1212
extra-deps:
13-
- github: apaszke/llvm-hs
14-
commit: a9a74be1a7c15f3d21b2fffd35a425002ae7736f
13+
- github: llvm-hs/llvm-hs
14+
commit: eda85a2bbe362a0b89df5adce0cb65e4e755eac5
1515
subdirs:
1616
- llvm-hs
1717
- llvm-hs-pure

0 commit comments

Comments
 (0)