Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
azure:
free_disk_space: true
settings_linux:
swapfile_size: 15GiB
settings_win:
variables:
CONDA_BLD_PATH: C:\\bld\\
Expand Down
5 changes: 5 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ else
rm -rf $BUILD_PREFIX/bin/llvm-tblgen
fi

export LTO=auto

if [[ "$target_platform" == osx* ]]; then
export CXXFLAGS="$CXXFLAGS -DTARGET_OS_OSX=1"
CMAKE_ARGS="$CMAKE_ARGS -DLLVM_ENABLE_LIBCXX=ON"
export LTO=Thin
fi

# disable -fno-plt due to some GCC bug causing linker errors, see
Expand All @@ -66,6 +69,8 @@ cmake \
-DLLVM_ENABLE_ZLIB=FORCE_ON \
-DLLVM_ENABLE_ZSTD=FORCE_ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_ENABLE_LTO=$LTO \
-DLLVM_ENABLE_FATLTO=ON \
-DCMAKE_AR=$AR \
-DPython3_EXECUTABLE=${BUILD_PREFIX}/bin/python \
$CMAKE_ARGS \
Expand Down
1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ requirements:
- {{ stdlib('c') }}
- {{ compiler('cxx') }}
- cmake
- lld
- ninja # [win]
- make # [unix]
# "compiling .pyc files" fails without this
Expand Down
Loading