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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user