Skip to content

Commit

Permalink
Remove --target from HSC2HS_EXTRA
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGlScott committed Aug 19, 2024
1 parent b41f266 commit cd664fa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,16 @@ jobs:
# `--target=arm64-apple-darwin`).
sed -i.bak -E "s|(\(\"C\ compiler\ flags\",\ \")[^\"]*(\"\))|\1\2|" $(ghc --print-libdir)/settings
sed -i.bak -E "s|(\(\"C\+\+\ compiler\ flags\",\ \")[^\"]*(\"\))|\1\2|" $(ghc --print-libdir)/settings
sed -i.bak -E "s|(HSC2HS_EXTRA=\")[^\"]*(\")|\1\2|" ~/.ghcup/ghc/${{ matrix.ghc-version }}/bin/hsc2hs-ghc-${{ matrix.ghc-version }}
# Switch the linker used for merging objects from Apple's ld to LLVM's
# ld.lld.
sed -i.bak -E "s|(\(\"Merge\ objects\ command\",\ \")[^\"]*(\"\))|\1${LD_LLD}\2|" $(ghc --print-libdir)/settings
- shell: bash
run: ghc --info
- name: Check our work
shell: bash
run: |
ghc --info
cat ~/.ghcup/ghc/${{ matrix.ghc-version }}/bin/hsc2hs-ghc-${{ matrix.ghc-version }}
- name: Experiments
shell: bash
Expand Down

0 comments on commit cd664fa

Please sign in to comment.