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
2 changes: 1 addition & 1 deletion .github/CODEOWNERS

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

5 changes: 5 additions & 0 deletions .gitignore

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

1 change: 1 addition & 0 deletions README.md

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

3 changes: 2 additions & 1 deletion conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
bot:
update_static_libs: true
abi_migration_branches:
- rc
- rc
build_platform:
linux_aarch64: linux_64
linux_ppc64le: linux_64
Expand Down
9 changes: 8 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ set -x
export PYTHONNOUSERSITE=1

export LLVMLITE_USE_CMAKE=1
export LLVMLITE_SHARED=1
export LLVMLITE_SHARED=0

if [[ "${target_platform}" == osx-* ]]; then
# See https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
elif [[ "${target_platform}" == linux-ppc64le ]]; then
# Taken from llvmdev's recipe
# https://github.com/conda-forge/llvmdev-feedstock/blob/8c2c0f2db9db1fdf12289381dcee4e2d9a2e5fec/recipe/build.sh#L29-L33
# disable `-fno-plt` due to some GCC bug causing linker errors, see
# https://github.com/llvm/llvm-project/issues/51205
CFLAGS="$(echo $CFLAGS | sed 's/-fno-plt //g')"
CXXFLAGS="$(echo $CXXFLAGS | sed 's/-fno-plt //g')"
fi

$PYTHON setup.py build --force
Expand Down
11 changes: 4 additions & 7 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ source:
sha256: {{ sha256 }}

build:
number: 0
number: 1
skip: true # [py<310]
script_env:
- PY_VCRUNTIME_REDIST
Comment thread
beckermr marked this conversation as resolved.

requirements:
build:
Expand All @@ -29,13 +27,11 @@ requirements:
host:
- python
- setuptools
- llvmdev 15.0.*
- llvm 15.0.*
- llvmdev 15.0.* # abstract pin for static lib
- llvmdev 15.0.7 *_5 # concrete pin for static lib - bot should update
- zlib
- vs2015_runtime # [win]
run:
- python
- vs2015_runtime # [win]
Comment thread
beckermr marked this conversation as resolved.

test:
imports:
Expand All @@ -59,3 +55,4 @@ extra:
- marcelotrevisani
- xhochy
- mbargull
- beckermr

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kkraus14 is it ok if we add you to the maintainers here?

Suggested change
- beckermr
- beckermr
- kkraus14