mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
Target LLVM 13
This commit is contained in:
parent
3b7164ffba
commit
9f7eb5fe57
10
.github/workflows/python-package.yml
vendored
10
.github/workflows/python-package.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ macos-11, windows-latest, ubuntu-latest ]
|
||||
arch: [ ['x86', 'x86_64', 'AMD64', 'x86_64' ] ] #[suffix, mac, windows, linux] arch names
|
||||
arch: [ [ 'x86', 'x86_64', 'AMD64', 'x86_64' ] ] #[suffix, mac, windows, linux] arch names
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
arch: [ 'ARM', 'arm64', 'ARM64', 'aarch64' ]
|
||||
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user