llvm - mesa update

This commit is contained in:
Ali Riza KESKIN committed 2026-03-08 14:54:11 +03:00
1 parent 19055def06
commit c325f4697f
9 files changed
+77 -136

No files matched your search

-31
View File
@@ -1,31 +0,0 @@
#!/usr/bin/env bash
name='abseil-cpp'
release='2'
version='20230802.1'
url='https://abseil.io/'
description='Abseil Common Libraries (C++), LTS Branch '
email='bayramk@gmail.com'
maintainer='bk'
license=('GPLv3')
source=("https://github.com/abseil/abseil-cpp/archive/refs/tags/$version.tar.gz")
depends=()
makedepends=()
md5sums=('84665b6daa5dda7c9082b1a00057457a')
group=(media.video)
uses=()
arch=('x86_64')
cd $name-$version
setup(){
cmake .
}
build(){
make $jobs
}
package(){
make install $jobs
}
+9 -9
View File
@@ -1,33 +1,33 @@
#!/usr/bin/env bash #!/usr/bin/env bash
name='libclc' name='libclc'
release='5' release='6'
version='20.1.7' version='22.1.0'
url='https://libclc.llvm.org/' url='https://libclc.llvm.org/'
description='Open source implementation of the library requirements of the OpenCL C programming language' description='Open source implementation of the library requirements of the OpenCL C programming language'
email='aliriza.keskin@pardus.org.tr' email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza' maintainer='aliriza'
license=('GPLv3') license=('GPLv3')
source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/libclc-$version.src.tar.xz") source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz")
depends=(spirv-llvm-translator) depends=(spirv-llvm-translator)
makedepends=() makedepends=()
sha256sums=('22b29c1a9f18d8744e5a24f36ce6d4f198d523c126cd7182569c73806e1e1854') sha256sums=('25d2e2adc4356d758405dd885fcfd6447bce82a90eb78b6b87ce0934bd077173')
group=(dev.libs) group=(dev.libs)
uses=() uses=()
arch=('x86_64') arch=('x86_64')
cd $name-$version.src cd llvm-project-$version.src
setup(){ setup(){
mkdir build && cd build mkdir libclc/build
cmake .. -G Ninja \ cmake -S libclc -B libclc/build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr
} }
build(){ build(){
ninja -C build ninja -C libclc/build
} }
package(){ package(){
ninja -C build install ninja -C libclc/build install
} }
+7 -5
View File
@@ -1,21 +1,21 @@
#!/usr/bin/env bash #!/usr/bin/env bash
name='glslang' name='glslang'
release='4' release='5'
version='1.3.261.1' version='1.4.341.0'
url='https://github.com/KhronosGroup/glslang' url='https://github.com/KhronosGroup/glslang'
description='OpenGL and OpenGL ES shader front end and validator' description='OpenGL and OpenGL ES shader front end and validator'
email='aliriza.keskin@pardus.org.tr' email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza' maintainer='aliriza'
license=('GPLv3') license=('GPLv3')
source=("https://github.com/KhronosGroup/glslang/archive/refs/tags/sdk-$version.tar.gz") source=("https://github.com/KhronosGroup/glslang/archive/refs/tags/vulkan-sdk-$version.tar.gz")
depends=(gcc) depends=(gcc)
makedepends=() makedepends=()
md5sums=('a2d585f532f08ff1402984577aa095a8') sha256sums=('18cdf7d40a39001dde842c6a1338b2c9321ac5e487139b9d52b4b9c666da3c86')
group=(dev.util) group=(dev.util)
uses=() uses=()
arch=('x86_64') arch=('x86_64')
cd $name-sdk-$version cd $name-vulkan-sdk-$version
export CXXFLAGS+=" -ffat-lto-objects" export CXXFLAGS+=" -ffat-lto-objects"
@@ -25,12 +25,14 @@ setup(){
-GNinja \ -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \ -DCMAKE_BUILD_TYPE=None \
-DALLOW_EXTERNAL_SPIRV_TOOLS=YES \
-DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=ON
cmake \ cmake \
-Bbuild-static \ -Bbuild-static \
-GNinja \ -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \ -DCMAKE_BUILD_TYPE=None \
-DALLOW_EXTERNAL_SPIRV_TOOLS=YES \
-DBUILD_SHARED_LIBS=OFF -DBUILD_SHARED_LIBS=OFF
} }
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
name='spirv-llvm-translator' name='spirv-llvm-translator'
release='5' release='6'
version='20.1.2' version='22.1.0'
url='https://github.com/KhronosGroup/SPIRV-LLVM-Translator' url='https://github.com/KhronosGroup/SPIRV-LLVM-Translator'
description='Bi-directional translator between SPIR-V and LLVM IR' description='Bi-directional translator between SPIR-V and LLVM IR'
email='aliriza.keskin@pardus.org.tr' email='aliriza.keskin@pardus.org.tr'
@@ -12,7 +12,7 @@ source=("https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/v$version
#source=("https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/${_commit}.zip") #source=("https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/${_commit}.zip")
depends=(spirv-tools llvm) depends=(spirv-tools llvm)
makedepends=() makedepends=()
sha256sums=('d1b4a55dc457edbd9cc50d23583d4bedda9479176efcd34b3e20166bc7a4a562') sha256sums=('a5d476404ab88ac0d148211da50428178c89caef8af8042a3ca8e71e58ed9427')
group=(dev.util) group=(dev.util)
uses=() uses=()
arch=('x86_64') arch=('x86_64')
+4 -4
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
name='mesa' name='mesa'
release='11' release='12'
version='25.2.8' version='26.0.1'
url='https://gitlab.freedesktop.org/mesa/mesa' url='https://gitlab.freedesktop.org/mesa/mesa'
description='An open-source implementation of the OpenGL specification' description='An open-source implementation of the OpenGL specification'
email='aliriza.keskin@pardus.org.tr' email='aliriza.keskin@pardus.org.tr'
@@ -9,8 +9,8 @@ maintainer='aliriza'
license=('GPLv3') license=('GPLv3')
source=("https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-$version/mesa-mesa-$version.tar.gz") 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) depends=(libva libvdpau libdrm llvm glslang elfutils libclc py3-mako libglvnd eudev)
makedepends=(git directx-headers py3-ply py3-yaml) makedepends=(git directx-headers py3-ply py3-yaml clang lld spirv-llvm-translator)
sha256sums=('f65d5b9097df93509a4a61ed8ad1de2e27e8b7a05993a60308e1358c1331e677') sha256sums=('4582190fe895126890b5b84457e885555f194f5387c2ed4a6f4a3021ace9e5f8')
group=(media.libs) group=(media.libs)
uses=(wayland x11) uses=(wayland x11)
wayland_depends=(wayland wayland-protocols) wayland_depends=(wayland wayland-protocols)
+9 -26
View File
@@ -1,42 +1,25 @@
#!/usr/bin/env bash #!/usr/bin/env bash
name='clang' name='clang'
release='5' release='6'
version='20.1.7' version='22.1.0'
url='https://github.com/llvm/llvm-project' url='https://github.com/llvm/llvm-project'
description='The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.' description='The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.'
email='aliriza.keskin@pardus.org.tr' email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza' maintainer='aliriza'
license=('GPLv3') license=('GPLv3')
source=( source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz")
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/clang-$version.src.tar.xz"
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/clang-tools-extra-$version.src.tar.xz"
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-$version.src.tar.xz"
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/cmake-$version.src.tar.xz"
)
depends=(llvm) depends=(llvm)
makedepends=() makedepends=()
sha256sums=( sha256sums=('25d2e2adc4356d758405dd885fcfd6447bce82a90eb78b6b87ce0934bd077173')
'cb74965a2481008ae405419357a55fda2df6fa3aee262a0a9293a558532a29ae'
'0e1c675cf36bc5625514bf0dc582d39cb9b1cd0909601a46a2190f3afbc95633'
'10b62d003f16afbd1a5ee0aa6397704c13d9a12a2562103998a8c1eff4a0f1ea'
'afdab526c9b337a4eacbb401685beb98a18fb576037ecfaa93171d4c644fe791'
)
group=(sys.devel) group=(sys.devel)
uses=() uses=()
arch=('x86_64') arch=('x86_64')
cd $name-$version.src cd llvm-project-$version.src
unset CFLAGS unset CFLAGS
unset CXXFLAGS unset CXXFLAGS
prepare(){
mv ../cmake{-$version.src,}
mv ../clang-tools-extra-$version.src ../clang-$version.src/tools/extra
}
local cmake_args=( local cmake_args=(
-G Ninja -G Ninja
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release
@@ -59,15 +42,15 @@ local cmake_args=(
) )
setup(){ setup(){
mkdir build && cd build mkdir clang/build
cmake .. ${cmake_args[@]} cmake -S clang -B clang/build ${cmake_args[@]}
} }
build(){ build(){
ninja -C build ${jobs} ninja -C clang/build ${jobs}
} }
package(){ package(){
ninja -C build install ${jobs} ninja -C clang/build install ${jobs}
} }
+20 -26
View File
@@ -1,41 +1,25 @@
#!/usr/bin/env bash #!/usr/bin/env bash
name='lld' name='lld'
release='5' release='6'
version='20.1.7' version='22.1.0'
url='https://github.com/llvm/llvm-project' url='https://github.com/llvm/llvm-project'
description='The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.' description='The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.'
email='aliriza.keskin@pardus.org.tr' email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza' maintainer='aliriza'
license=('GPLv3') license=('GPLv3')
source=( source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz")
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/lld-$version.src.tar.xz"
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/cmake-$version.src.tar.xz"
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/libunwind-$version.src.tar.xz"
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-$version.src.tar.xz"
)
depends=(llvm) depends=(llvm)
makedepends=() makedepends=()
sha256sums=( sha256sums=('25d2e2adc4356d758405dd885fcfd6447bce82a90eb78b6b87ce0934bd077173')
'9cb94dac7db0e1f2b664469e1574c0b350bec3eacd0cbc524481a6f65fc0f185'
'afdab526c9b337a4eacbb401685beb98a18fb576037ecfaa93171d4c644fe791'
'46081293b2f857caca68a266cf11fad8366315c470a9a6766868ed6c369bac0c'
'10b62d003f16afbd1a5ee0aa6397704c13d9a12a2562103998a8c1eff4a0f1ea'
)
group=(sys.devel) group=(sys.devel)
uses=() uses=()
arch=('x86_64') arch=('x86_64')
cd $name-$version.src cd llvm-project-$version.src
prepare(){
mv ../cmake{-$version.src,}
mv ../libunwind{-$version.src,}
}
local cmake_args=( local cmake_args=(
-G Ninja -G Ninja
-Wno-dev
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_DOCDIR=share/doc -DCMAKE_INSTALL_DOCDIR=share/doc
@@ -51,16 +35,26 @@ local cmake_args=(
-DSPHINX_WARNINGS_AS_ERRORS=OFF -DSPHINX_WARNINGS_AS_ERRORS=OFF
) )
export CFLAGS="-O2 -DNDEBUG -Ilibunwind/include"
export CXXFLAGS="-O2 -DNDEBUG -Ilibunwind/include"
export CC=clang
export CXX=clang++
prepare(){
ln -s ../../libunwind/include/mach-o/ lld/MachO/mach-o
}
setup(){ setup(){
mkdir build && cd build mkdir lld/build
cmake .. ${cmake_args[@]} cmake -S lld -B lld/build ${cmake_args[@]}
} }
build(){ build(){
ninja -C build ${jobs} ninja -C lld/build ${jobs}
} }
package(){ package(){
ninja -C build install ${jobs} ninja -C lld/build install ${jobs}
} }
+11 -21
View File
@@ -1,25 +1,21 @@
#!/usr/bin/env bash #!/usr/bin/env bash
name='llvm' name='llvm'
release='5' release='6'
version='20.1.7' version='22.1.0'
url='https://llvm.org' url='https://llvm.org'
description='Low Level Virtual Machine' description='Low Level Virtual Machine'
email='aliriza.keskin@pardus.org.tr' email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza' maintainer='aliriza'
license=('GPLv3') license=('GPLv3')
source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-$version.src.tar.xz" source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz")
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/cmake-$version.src.tar.xz"
"https://anduin.linuxfromscratch.org/BLFS/llvm/llvm-third-party.src.tar.xz")
depends=(libffi xz-utils libxml2 zlib) depends=(libffi xz-utils libxml2 zlib)
makedepends=(git) makedepends=()
sha256sums=('10b62d003f16afbd1a5ee0aa6397704c13d9a12a2562103998a8c1eff4a0f1ea' sha256sums=('25d2e2adc4356d758405dd885fcfd6447bce82a90eb78b6b87ce0934bd077173')
'afdab526c9b337a4eacbb401685beb98a18fb576037ecfaa93171d4c644fe791'
'640dfceac068374e3dbce3576892712d157705b35dfe13dd17518c256ad29d5e')
group=(sys.devel) group=(sys.devel)
uses=() uses=()
arch=('x86_64') arch=('x86_64')
cd llvm-$version.src cd llvm-project-$version.src
export PYTHON=/usr/bin/python3 export PYTHON=/usr/bin/python3
@@ -38,31 +34,25 @@ cmake_args=(
-DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_RTTI=ON
-DLLVM_ENABLE_SPHINX=OFF -DLLVM_ENABLE_SPHINX=OFF
-DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF
-DLLVM_INCLUDE_TESTS=OFF
-DLLVM_INSTALL_UTILS=ON -DLLVM_INSTALL_UTILS=ON
-DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
-DLLVM_USE_PERF=ON -DLLVM_USE_PERF=ON
-DSPHINX_WARNINGS_AS_ERRORS=OFF -DSPHINX_WARNINGS_AS_ERRORS=OFF
) )
prepare(){
mv ../cmake{-$version.src,}
mv ../llvm-third-party.src ../third-party
}
setup(){ setup(){
mkdir build mkdir llvm/build
cd build cmake -S llvm -B llvm/build ${cmake_args[@]}
cmake .. ${cmake_args[@]}
} }
build(){ build(){
cd build ninja -C llvm/build ${jobs}
ninja ${jobs}
} }
package(){ package(){
cd build ninja -C llvm/build install ${jobs}
ninja install ${jobs}
mv ${DESTDIR}/usr/lib{,64} mv ${DESTDIR}/usr/lib{,64}
} }
+14 -11
View File
@@ -1,34 +1,37 @@
#!/usr/bin/env bash #!/usr/bin/env bash
name='libunwind' name='libunwind'
release='1' release='2'
version='1.7.0' version='1.8.3'
url='https://savannah.nongnu.org/projects/libunwind' url='https://savannah.nongnu.org/projects/libunwind'
description='Portable and efficient API to determine the call-chain of a program ' description='Portable and efficient API to determine the call-chain of a program '
email='bayramk@gmail.com' email='bayramk@gmail.com'
maintainer='bk' maintainer='bk'
license=('GPLv3') license=('GPLv3')
source=("https://github.com/libunwind/libunwind/archive/refs/tags/v$version-rc2.tar.gz") source=("https://github.com/libunwind/libunwind/archive/refs/tags/v$version.tar.gz")
depends=() depends=()
makedepends=() makedepends=()
md5sums=('e4b4b6376884b02fb540f04b763df7b9') sha256sums=('21b26bc75cd37b548d7952f2794cde711efa6c6151c4147cc3c52cfedbf11df4')
group=(sys.libs) group=(sys.libs)
uses=() uses=()
arch=('x86_64') arch=('x86_64')
cd $name-$version-rc2 cd $name-$version
unset CFLAGS
unset CXXFLAGS
setup(){ setup(){
autoreconf -fvi autoreconf -i
./configure --prefix=/usr \ ./configure --prefix=/usr \
--libdir=/usr/lib64/ --enable-cxx-exceptions \
--disable-tests
} }
build(){ build(){
make -j`nproc` make $job
} }
package(){ package(){
make install -j`nproc` make install $jobs
} }