Skip to content

Commit

Permalink
Merge pull request #8 from savi-lang/fix/windows
Browse files Browse the repository at this point in the history
Use LLVM 12 (instead of latest/14) to generate Windows bitcode.
  • Loading branch information
jemc authored May 5, 2022
2 parents ffb2f47 + 70f1a10 commit 3141d42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ build_task:
image: ubuntu:22.04
environment:
TRIPLE: x86_64-unknown-windows-msvc
DEPS_INSTALL_PRE: apt-get update && apt-get install -y --no-install-recommends apt-transport-https ca-certificates clang cmake curl git llvm make
DEPS_INSTALL_PRE: apt-get update && apt-get install -y --no-install-recommends apt-transport-https ca-certificates clang-12 cmake curl git llvm-12 make && ln -s /usr/bin/clang-12 /usr/bin/clang && ln -s /usr/bin/clang++-12 /usr/bin/clang++ && ln -s /usr/bin/llvm-link-12 /usr/bin/llvm-link
DEPS_INSTALL: curl -L --fail ${XWIN_RELEASE_URL} | tar --strip-components=1 --wildcards -xvzf - '*/xwin'
# Without this next environment var, apt-get will try to ask us
# interactive questions, to which we will be unable to respond...
Expand All @@ -106,6 +106,9 @@ build_task:

deps_script:
- sh -xc "${DEPS_INSTALL_PRE:-echo}" && sh -xc "${DEPS_INSTALL:-echo}"
- clang --version
- clang++ --version
- llvm-link --version

xwin_cache:
folder: /tmp/xwin
Expand Down

0 comments on commit 3141d42

Please sign in to comment.