mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
llvm17: rebuild for python3-3.13
This commit is contained in:
parent
5b2b576dee
commit
3f39673cb3
1 changed files with 8 additions and 12 deletions
|
@ -1,14 +1,12 @@
|
||||||
# Template file for 'llvm17'
|
# Template file for 'llvm17'
|
||||||
pkgname=llvm17
|
pkgname=llvm17
|
||||||
version=17.0.6
|
version=17.0.6
|
||||||
revision=3
|
revision=4
|
||||||
build_wrksrc=llvm
|
build_wrksrc=llvm
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
_ext_suffix=".cpython-${py3_ver/./}-linux-${XBPS_TARGET_LIBC/glibc/gnu}.so"
|
|
||||||
configure_args="
|
configure_args="
|
||||||
-DCMAKE_BUILD_TYPE=Release -Wno-dev
|
-DCMAKE_BUILD_TYPE=Release -Wno-dev
|
||||||
-DENABLE_LINKER_BUILD_ID=YES
|
-DENABLE_LINKER_BUILD_ID=YES
|
||||||
-DLLDB_USE_SYSTEM_SIX=YES
|
|
||||||
-DLIBCXX_CXX_ABI=libcxxabi
|
-DLIBCXX_CXX_ABI=libcxxabi
|
||||||
-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=YES
|
-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=YES
|
||||||
-DLIBCXXABI_USE_LLVM_UNWINDER=YES
|
-DLIBCXXABI_USE_LLVM_UNWINDER=YES
|
||||||
|
@ -28,13 +26,13 @@ configure_args="
|
||||||
-DLLVM_ENABLE_FFI=YES
|
-DLLVM_ENABLE_FFI=YES
|
||||||
-DLLVM_BINUTILS_INCDIR=/usr/include
|
-DLLVM_BINUTILS_INCDIR=/usr/include
|
||||||
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=NO
|
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=NO
|
||||||
-DLLDB_PYTHON_RELATIVE_PATH=lib/python${py3_ver}/site-packages
|
-DLLDB_ENABLE_PYTHON=NO
|
||||||
-DLLDB_PYTHON_EXE_RELATIVE_PATH=bin/python${py3_ver}
|
"
|
||||||
-DLLDB_PYTHON_EXT_SUFFIX=$_ext_suffix "
|
hostmakedepends="perl zlib-devel libffi-devel swig python3-Sphinx pkg-config
|
||||||
hostmakedepends="perl python3 zlib-devel libffi-devel swig python3-Sphinx
|
python3-recommonmark python3-sphinx-automodapi git python3-yaml
|
||||||
python3-recommonmark python3-sphinx-automodapi git python3-sphinx-markdown-tables python3-yaml pkg-config "
|
python3-sphinx-markdown-tables"
|
||||||
makedepends="python3-devel zlib-devel elfutils-devel libffi-devel libedit-devel
|
makedepends="zlib-devel elfutils-devel libffi-devel libedit-devel libxml2-devel
|
||||||
libxml2-devel binutils-devel "
|
binutils-devel"
|
||||||
short_desc="LLVM Compiler Infrastructure Project - Version 17"
|
short_desc="LLVM Compiler Infrastructure Project - Version 17"
|
||||||
maintainer="Daniel Martinez <danielmartinez@cock.li>"
|
maintainer="Daniel Martinez <danielmartinez@cock.li>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
@ -422,7 +420,6 @@ llvm-bolt17_package() {
|
||||||
|
|
||||||
lldb17_package() {
|
lldb17_package() {
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
depends+=" python3-six"
|
|
||||||
short_desc+=" - LLDB debugger"
|
short_desc+=" - LLDB debugger"
|
||||||
homepage="https://lldb.llvm.org/"
|
homepage="https://lldb.llvm.org/"
|
||||||
conflicts="lldb15>=0"
|
conflicts="lldb15>=0"
|
||||||
|
@ -432,7 +429,6 @@ lldb17_package() {
|
||||||
vmove usr/bin/lldb-instr
|
vmove usr/bin/lldb-instr
|
||||||
vmove usr/bin/lldb-server
|
vmove usr/bin/lldb-server
|
||||||
vmove usr/bin/lldb-vscode
|
vmove usr/bin/lldb-vscode
|
||||||
vmove "usr/lib/python${py3_ver}/site-packages/lldb"
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
vmove /usr/lib/lua/5.3/lldb.so
|
vmove /usr/lib/lua/5.3/lldb.so
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue