llvm update
This commit is contained in:
1 parent
d12c52cb52
commit
0f4f3d4fc2
8 files changed
+55
-61
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='rust'
|
||||
release='6'
|
||||
version='1.83.0'
|
||||
release='7'
|
||||
version='1.84.0'
|
||||
url='https://www.rust-lang.org'
|
||||
description='Systems programming language from Mozilla'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='wayland-protocols'
|
||||
release='5'
|
||||
version='1.37'
|
||||
release='6'
|
||||
version='1.39'
|
||||
url='https://gitlab.freedesktop.org/wayland/wayland-protocols'
|
||||
description='Wayland protocol files'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
@@ -10,7 +10,7 @@ license=('GPLv3')
|
||||
source=("https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$version/downloads/wayland-protocols-$version.tar.xz")
|
||||
depends=(wayland)
|
||||
makedepends=()
|
||||
sha256sums=('a70e9be924f2e8688e6824dceaf6188faacd5ae218dfac8d0a3d0976211ef326')
|
||||
sha256sums=('e1dcdcbbf08e2e0a8a02ee5d9a0be3a6aafc39a4b51fa7e0d2f1a16411cb72fa')
|
||||
group=(dev.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
@@ -24,7 +24,7 @@ setup(){
|
||||
}
|
||||
|
||||
build(){
|
||||
ninja -C build
|
||||
ninja -C build ${jobs}
|
||||
}
|
||||
|
||||
package(){
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='directx-headers'
|
||||
release='3'
|
||||
version='1.614.0'
|
||||
release='4'
|
||||
version='1.614.1'
|
||||
url='https://github.com/microsoft/DirectX-Headers'
|
||||
description='DirectX headers for using D3D12'
|
||||
email='akarsu@protonmail.com'
|
||||
@@ -10,7 +10,7 @@ license=('MIT')
|
||||
source=("https://github.com/microsoft/DirectX-Headers/archive/refs/tags/v${version}.tar.gz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
sha256sums=('1cd54449799501a4ad129a4c7ccf0c026bbb699f937ba299d92de3aacd29c5be')
|
||||
sha256sums=('344eb454c979ea68d8255d82c818bf7daf01f5109d26ac104f9911d18fae3b21')
|
||||
group=(dev.util)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
@@ -1,20 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
name='spirv-llvm-translator'
|
||||
release='3'
|
||||
version='18.1.0'
|
||||
release='4'
|
||||
version='19.1.2'
|
||||
url='https://github.com/KhronosGroup/SPIRV-LLVM-Translator'
|
||||
description='Bi-directional translator between SPIR-V and LLVM IR'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/v$version/SPIRV-LLVM-Translator-$version.tar.gz"
|
||||
"2388.patch")
|
||||
source=("https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/v$version/SPIRV-LLVM-Translator-$version.tar.gz")
|
||||
#_commit="63fd3515855469507e9531db68a834c2179ef4e1"
|
||||
#source=("https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/${_commit}.zip")
|
||||
depends=(spirv-tools llvm)
|
||||
makedepends=()
|
||||
md5sums=('caaab5d5769f7dfe044b99eeb83ac2cf'
|
||||
'SKIP')
|
||||
sha256sums=('67be5fd119a0a575b82289f870064198484eb41f0591f557166a6c1884c906bf')
|
||||
group=(dev.util)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
@@ -22,34 +20,27 @@ arch=('x86_64')
|
||||
cd SPIRV-LLVM-Translator-$version
|
||||
#cd SPIRV-LLVM-Translator-${_commit}
|
||||
|
||||
prepare(){
|
||||
patch -Rp1 -i ../2388.patch
|
||||
}
|
||||
export CC=clang
|
||||
export CXX=clang++
|
||||
|
||||
unset CFLAGS
|
||||
unset CXXFLAGS
|
||||
|
||||
setup(){
|
||||
mkdir build && cd build
|
||||
cmake .. \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D CMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||
-D CMAKE_SKIP_RPATH=ON \
|
||||
-D LLVM_BUILD_TOOLS=ON \
|
||||
-D CCACHE_ALLOWED=OFF \
|
||||
-D LLVM_DIR=/usr/lib/cmake/llvm \
|
||||
-D LLVM_SPIRV_BUILD_EXTERNAL=YES \
|
||||
-D LLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr/include/spirv \
|
||||
-D FETCHCONTENT_FULLY_DISCONNECTED=ON \
|
||||
-Wno-dev
|
||||
-G 'Ninja' \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=True \
|
||||
-DLLVM_SPIRV_INCLUDE_TESTS=1
|
||||
}
|
||||
|
||||
build(){
|
||||
make -C build
|
||||
ninja -C build ${jobs}
|
||||
}
|
||||
|
||||
package(){
|
||||
make -C build install
|
||||
ninja install -C build
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='mesa'
|
||||
release='7'
|
||||
version='24.2.3'
|
||||
release='8'
|
||||
version='24.3.4'
|
||||
url='https://gitlab.freedesktop.org/mesa/mesa'
|
||||
description='An open-source implementation of the OpenGL specification'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
@@ -9,8 +9,8 @@ maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-$version/mesa-mesa-$version.tar.gz")
|
||||
depends=(libva libvdpau libdrm llvm glslang elfutils libclc py3-mako libglvnd eudev)
|
||||
makedepends=(git directx-headers py3-ply)
|
||||
sha256sums=('33d97cbede9917c7e6d1fa8c514dce2867b17ebe26729d0a44672aed53ca0d65')
|
||||
makedepends=(git directx-headers py3-ply py3-yaml)
|
||||
sha256sums=('966b515c83e6d52f34a151194abd0464b1a7af87158eba4036801a600216288e')
|
||||
group=(media.libs)
|
||||
uses=(wayland x11)
|
||||
wayland_depends=(wayland wayland-protocols)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='clang'
|
||||
release='3'
|
||||
version='18.1.1'
|
||||
release='4'
|
||||
version='19.1.7'
|
||||
url='https://github.com/llvm/llvm-project'
|
||||
description='The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
@@ -16,11 +16,11 @@ source=(
|
||||
|
||||
depends=(llvm)
|
||||
makedepends=()
|
||||
md5sums=(
|
||||
'64294af06a888b7968ae977832f88396'
|
||||
'36e0f3ff5f2f927b8cb20e3220ae4d17'
|
||||
'466aecd0889df065dbc026b56f44eb89'
|
||||
'aa9a78a149fa45ad4d8336cbdaafcec8'
|
||||
sha256sums=(
|
||||
'11e5e4ecab5338b9914de3b83a4622cb200de466b7c56ba675afb72fa7d64675'
|
||||
'430b088bf820550090a6cf0eec67183d045273c18b3f1d6c5207e46d93391be7'
|
||||
'96f833c6ad99a3e8e1d9aca5f439b8fd2c7efdcf83b664e0af1c0712c5315910'
|
||||
'11c5a28f90053b0c43d0dec3d0ad579347fc277199c005206b963c19aae514e3'
|
||||
)
|
||||
|
||||
group=(sys.devel)
|
||||
@@ -29,6 +29,9 @@ arch=('x86_64')
|
||||
|
||||
cd $name-$version.src
|
||||
|
||||
unset CFLAGS
|
||||
unset CXXFLAGS
|
||||
|
||||
prepare(){
|
||||
mv ../cmake{-$version.src,}
|
||||
mv ../clang-tools-extra-$version.src ../clang-$version.src/tools/extra
|
||||
@@ -61,10 +64,10 @@ setup(){
|
||||
}
|
||||
|
||||
build(){
|
||||
ninja -C build
|
||||
ninja -C build ${jobs}
|
||||
}
|
||||
|
||||
package(){
|
||||
ninja -C build install
|
||||
ninja -C build install ${jobs}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='lld'
|
||||
release='3'
|
||||
version='18.1.1'
|
||||
release='4'
|
||||
version='19.1.7'
|
||||
url='https://github.com/llvm/llvm-project'
|
||||
description='The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
@@ -17,10 +17,10 @@ source=(
|
||||
depends=(llvm)
|
||||
makedepends=()
|
||||
sha256sums=(
|
||||
'8456e8be08767f1f257733c5b56d0671d5b1a43fd78ffa53f024f307641f4612'
|
||||
'5308023d1c1e9feb264c14f58db35c53061123300a7eb940364f46d574c8b2d6'
|
||||
'999182a47a85dc27c426e301e100e6240082d602219a650137ea9a691c63dc53'
|
||||
'ab0508d02b2d126ceb98035c28638a9d7b1e7fa5ef719396236e72f59a02e1ac'
|
||||
'630bf0f31b210e89fd7869bdfd6c376d010fc3b72ee42f08058435035c432e42'
|
||||
'11c5a28f90053b0c43d0dec3d0ad579347fc277199c005206b963c19aae514e3'
|
||||
'10e650f436bc416674f01b5e01177405886f4d0f0b2568c6808044eacad52ea0'
|
||||
'96f833c6ad99a3e8e1d9aca5f439b8fd2c7efdcf83b664e0af1c0712c5315910'
|
||||
)
|
||||
|
||||
group=(sys.devel)
|
||||
@@ -57,10 +57,10 @@ setup(){
|
||||
}
|
||||
|
||||
build(){
|
||||
ninja -C build
|
||||
ninja -C build ${jobs}
|
||||
}
|
||||
|
||||
package(){
|
||||
ninja -C build install
|
||||
ninja -C build install ${jobs}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='llvm'
|
||||
release='3'
|
||||
version='18.1.1'
|
||||
release='4'
|
||||
version='19.1.7'
|
||||
url='https://llvm.org'
|
||||
description='Low Level Virtual Machine'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
@@ -12,9 +12,9 @@ source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version
|
||||
"https://anduin.linuxfromscratch.org/BLFS/llvm/llvm-third-party.src.tar.xz")
|
||||
depends=(libffi xz-utils libxml2 zlib)
|
||||
makedepends=(git)
|
||||
md5sums=('466aecd0889df065dbc026b56f44eb89'
|
||||
'aa9a78a149fa45ad4d8336cbdaafcec8'
|
||||
'8b506e49e5fa4c41186ba8ba7da5af82')
|
||||
sha256sums=('96f833c6ad99a3e8e1d9aca5f439b8fd2c7efdcf83b664e0af1c0712c5315910'
|
||||
'11c5a28f90053b0c43d0dec3d0ad579347fc277199c005206b963c19aae514e3'
|
||||
'640dfceac068374e3dbce3576892712d157705b35dfe13dd17518c256ad29d5e')
|
||||
group=(sys.devel)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
@@ -62,7 +62,7 @@ build(){
|
||||
|
||||
package(){
|
||||
cd build
|
||||
ninja install
|
||||
ninja install ${jobs}
|
||||
mv ${DESTDIR}/usr/lib{,64}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user