Target LLVM 13

This commit is contained in:
Andrew Cassidy 2022-05-31 00:49:30 -07:00
parent 3b7164ffba
commit 9f7eb5fe57
2 changed files with 11 additions and 3 deletions

View File

@ -70,6 +70,14 @@ jobs:
wget https://pileof.rocks/openmp-13.0.0-darwin21-Release.tar.gz
sudo tar fvxz openmp-*.tar.gz -C /
- name: Select LLVM 13
if: runner.os == 'macOS'
run: |
echo "CC=$(brew --prefix llvm)/bin/clang" >> $GITHUB_ENV
echo "CXX=$(brew --prefix llvm)/bin/clang" >> $GITHUB_ENV
echo "LDFLAGS=-L$(brew --prefix)/opt/llvm/lib -Wl,-rpath,$(brew --prefix)/opt/llvm/lib" >> &GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=10.9"
- name: Install QEMU
# install QEMU if building for arm linux
uses: docker/setup-qemu-action@v2

View File

@ -39,8 +39,8 @@ namespace quicktex {
// std::ranges::range is currently not usable by default in libc++
template <class T>
concept range = requires(T &t) {
std::ranges::begin(t);
std::ranges::end(t);
std::begin(t);
std::end(t);
};
template <class T>