Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .scripts/build_steps.sh

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

6 changes: 3 additions & 3 deletions .scripts/run_osx_build.sh

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

4 changes: 2 additions & 2 deletions .scripts/run_win_build.bat

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

26 changes: 13 additions & 13 deletions README.md

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

5 changes: 3 additions & 2 deletions build-locally.py

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

4 changes: 3 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ else
export TEST_CPU_FLAG=""
fi

if [[ "$CONDA_BUILD_CROSS_COMPILATION" != "1" ]]; then
# should be [[ "$CONDA_BUILD_CROSS_COMPILATION" != "1" ]],
# but osx builds time out when building & running test suite
if [[ "$target_platform" == "linux-64" ]]; then
# bin/opt -S -vector-library=SVML $TEST_CPU_FLAG -O3 $RECIPE_DIR/numba-3016.ll | bin/FileCheck $RECIPE_DIR/numba-3016.ll || exit $?

if [[ "$target_platform" == linux* ]]; then
Expand Down
5 changes: 2 additions & 3 deletions recipe/install_llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ IFS='.' read -ra VER_ARR <<< "$PKG_VERSION"
# temporary prefix to be able to install files more granularly
mkdir temp_prefix

# default SOVER for tagged releases is just the major version
SOVER_EXT=${VER_ARR[0]}
# default SOVER for tagged releases is major.minor version
SOVER_EXT="${VER_ARR[0]}.${VER_ARR[1]}"
if [[ "${PKG_VERSION}" == *rc* ]]; then
# rc's get "rc" without the number
SOVER_EXT="${SOVER_EXT}rc"
Expand All @@ -23,7 +23,6 @@ if [[ "${PKG_NAME}" == libllvm-c* ]]; then
elif [[ "${PKG_NAME}" == libllvm* ]]; then
cmake --install ./build --prefix=./temp_prefix
# all other libraries
mv ./temp_prefix/lib/libLLVM-${SOVER_EXT}${SHLIB_EXT} $PREFIX/lib
mv ./temp_prefix/lib/lib*.so.${SOVER_EXT} $PREFIX/lib || true
mv ./temp_prefix/lib/lib*.${SOVER_EXT}.dylib $PREFIX/lib || true
elif [[ "${PKG_NAME}" == "llvm-tools" ]]; then
Expand Down
9 changes: 5 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% set version = "18.1.0.rc1" %}
{% set version = "18.1.0.rc4" %}
{% set major_ver = version.split(".")[0] %}
{% set maj_min = major_ver ~ "." ~ version.split(".")[1] %}

# as of LLVM 17, we expect an "rc" suffix for the release candidates
{% set extra = "rc" if version.split(".")[-1] not in "1234567" else "" %}
Expand All @@ -11,7 +12,7 @@ package:

source:
url: https://github.com/llvm/llvm-project/releases/download/llvmorg-{{ version.replace(".rc", "-rc") }}/llvm-project-{{ version.replace(".rc", "rc") }}.src.tar.xz
sha256: eb1a2751408e4cbb08b152285b23dea00e4a1bc2cd28c0df90fe1ce699671154
sha256: bc1d243472ee4868e20760c100049078343a89aa34549c69dbab389c68e0c473
patches:
# - patches/intel-D47188-svml-VF.patch # Fixes vectorizer and extends SVML support
# - patches/expect-fastmath-entrypoints-in-add-TLI-mappings.ll.patch # adjusts test added in 10.0.0 for intel-D47188-svml-VF.patch effects
Expand Down Expand Up @@ -113,8 +114,8 @@ outputs:
- libcxx >={{ cxx_compiler_version }} # [osx]
test:
commands:
- test -f $PREFIX/lib/libLLVM-{{ major_ver }}{{ extra }}.so # [linux]
- test -f $PREFIX/lib/libLLVM-{{ major_ver }}{{ extra }}.dylib # [osx]
- test -f $PREFIX/lib/libLLVM.so.{{ maj_min }}{{ extra }} # [linux]
- test -f $PREFIX/lib/libLLVM.{{ maj_min }}{{ extra }}.dylib # [osx]

# This is a meta package so that people can use the latest libllvm and also
# for run_exports
Expand Down