Skip to content

Commit

Permalink
devel/py-llvmlite: update 0.39.1 → 0.41.1
Browse files Browse the repository at this point in the history
PR:		273355
Approved by:	dal.ca (maintainer's timeout; 83 days)
  • Loading branch information
yurivict committed Nov 20, 2023
1 parent ba1a081 commit 2410c87
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 17 deletions.
7 changes: 3 additions & 4 deletions devel/py-llvmlite/Makefile
@@ -1,6 +1,5 @@
PORTNAME= llvmlite
DISTVERSION= 0.39.1
PORTREVISION= 1
DISTVERSION= 0.41.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -16,13 +15,13 @@ BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}
RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}

USES= compiler:c++11-lib python fortran
USE_PYTHON= distutils autoplist pytest
USE_PYTHON= distutils autoplist pytest # many tests fail, see https://github.com/numba/llvmlite/issues/1015

CXXFLAGS= -fPIC

MAKE_ENV= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER}

LLVM_VER= 11 # see the compatibility table https://github.com/numba/llvmlite#compatibility
LLVM_VER= 14 # see the compatibility table https://github.com/numba/llvmlite#compatibility

TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

Expand Down
6 changes: 3 additions & 3 deletions devel/py-llvmlite/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1663429323
SHA256 (llvmlite-0.39.1.tar.gz) = b43abd7c82e805261c425d50335be9a6c4f84264e34d6d6e475207300005d572
SIZE (llvmlite-0.39.1.tar.gz) = 132819
TIMESTAMP = 1700436592
SHA256 (llvmlite-0.41.1.tar.gz) = f19f767a018e6ec89608e1f6b13348fa2fcde657151137cb64e56d48598a92db
SIZE (llvmlite-0.41.1.tar.gz) = 146564
14 changes: 4 additions & 10 deletions devel/py-llvmlite/files/patch-ffi-Makefile.freebsd
@@ -1,9 +1,9 @@
--- ffi/Makefile.freebsd.orig 2022-09-01 13:47:22 UTC
--- ffi/Makefile.freebsd.orig 2023-10-17 13:15:45 UTC
+++ ffi/Makefile.freebsd
@@ -1,17 +1,17 @@
@@ -1,12 +1,12 @@

-CXX = clang++ -std=c++11 -stdlib=libc++
+CXX ?= clang++ -std=c++11 -stdlib=libc++
-CXX = clang++ -stdlib=libc++
+CXX ?= clang++ -stdlib=libc++

# -flto and --exclude-libs allow us to remove those parts of LLVM we don't use
CXX_FLTO_FLAGS ?= -flto
Expand All @@ -16,9 +16,3 @@
LIBS = $(LLVM_LIBS)
INCLUDE = core.h
SRC = assembly.cpp bitcode.cpp core.cpp initfini.cpp module.cpp value.cpp \
executionengine.cpp transforms.cpp passmanagers.cpp targets.cpp dylib.cpp \
- linker.cpp object_file.cpp
+ linker.cpp object_file.cpp custom_passes.cpp
OUTPUT = libllvmlite.so

all: $(OUTPUT)

0 comments on commit 2410c87

Please sign in to comment.