llvm - mesa update
This commit is contained in:
1 parent
19055def06
commit
c325f4697f
9 files changed
+77
-136
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libclc'
|
||||
release='5'
|
||||
version='20.1.7'
|
||||
release='6'
|
||||
version='22.1.0'
|
||||
url='https://libclc.llvm.org/'
|
||||
description='Open source implementation of the library requirements of the OpenCL C programming language'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
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)
|
||||
makedepends=()
|
||||
sha256sums=('22b29c1a9f18d8744e5a24f36ce6d4f198d523c126cd7182569c73806e1e1854')
|
||||
sha256sums=('25d2e2adc4356d758405dd885fcfd6447bce82a90eb78b6b87ce0934bd077173')
|
||||
group=(dev.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version.src
|
||||
cd llvm-project-$version.src
|
||||
|
||||
setup(){
|
||||
mkdir build && cd build
|
||||
cmake .. -G Ninja \
|
||||
mkdir libclc/build
|
||||
cmake -S libclc -B libclc/build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
}
|
||||
|
||||
build(){
|
||||
ninja -C build
|
||||
ninja -C libclc/build
|
||||
}
|
||||
|
||||
package(){
|
||||
ninja -C build install
|
||||
ninja -C libclc/build install
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
name='glslang'
|
||||
release='4'
|
||||
version='1.3.261.1'
|
||||
release='5'
|
||||
version='1.4.341.0'
|
||||
url='https://github.com/KhronosGroup/glslang'
|
||||
description='OpenGL and OpenGL ES shader front end and validator'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
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)
|
||||
makedepends=()
|
||||
md5sums=('a2d585f532f08ff1402984577aa095a8')
|
||||
sha256sums=('18cdf7d40a39001dde842c6a1338b2c9321ac5e487139b9d52b4b9c666da3c86')
|
||||
group=(dev.util)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-sdk-$version
|
||||
cd $name-vulkan-sdk-$version
|
||||
|
||||
export CXXFLAGS+=" -ffat-lto-objects"
|
||||
|
||||
@@ -25,12 +25,14 @@ setup(){
|
||||
-GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DALLOW_EXTERNAL_SPIRV_TOOLS=YES \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
cmake \
|
||||
-Bbuild-static \
|
||||
-GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DALLOW_EXTERNAL_SPIRV_TOOLS=YES \
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='spirv-llvm-translator'
|
||||
release='5'
|
||||
version='20.1.2'
|
||||
release='6'
|
||||
version='22.1.0'
|
||||
url='https://github.com/KhronosGroup/SPIRV-LLVM-Translator'
|
||||
description='Bi-directional translator between SPIR-V and LLVM IR'
|
||||
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")
|
||||
depends=(spirv-tools llvm)
|
||||
makedepends=()
|
||||
sha256sums=('d1b4a55dc457edbd9cc50d23583d4bedda9479176efcd34b3e20166bc7a4a562')
|
||||
sha256sums=('a5d476404ab88ac0d148211da50428178c89caef8af8042a3ca8e71e58ed9427')
|
||||
group=(dev.util)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='mesa'
|
||||
release='11'
|
||||
version='25.2.8'
|
||||
release='12'
|
||||
version='26.0.1'
|
||||
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 py3-yaml)
|
||||
sha256sums=('f65d5b9097df93509a4a61ed8ad1de2e27e8b7a05993a60308e1358c1331e677')
|
||||
makedepends=(git directx-headers py3-ply py3-yaml clang lld spirv-llvm-translator)
|
||||
sha256sums=('4582190fe895126890b5b84457e885555f194f5387c2ed4a6f4a3021ace9e5f8')
|
||||
group=(media.libs)
|
||||
uses=(wayland x11)
|
||||
wayland_depends=(wayland wayland-protocols)
|
||||
|
||||
@@ -1,42 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
name='clang'
|
||||
release='5'
|
||||
version='20.1.7'
|
||||
release='6'
|
||||
version='22.1.0'
|
||||
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'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=(
|
||||
"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"
|
||||
)
|
||||
|
||||
source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz")
|
||||
depends=(llvm)
|
||||
makedepends=()
|
||||
sha256sums=(
|
||||
'cb74965a2481008ae405419357a55fda2df6fa3aee262a0a9293a558532a29ae'
|
||||
'0e1c675cf36bc5625514bf0dc582d39cb9b1cd0909601a46a2190f3afbc95633'
|
||||
'10b62d003f16afbd1a5ee0aa6397704c13d9a12a2562103998a8c1eff4a0f1ea'
|
||||
'afdab526c9b337a4eacbb401685beb98a18fb576037ecfaa93171d4c644fe791'
|
||||
)
|
||||
|
||||
sha256sums=('25d2e2adc4356d758405dd885fcfd6447bce82a90eb78b6b87ce0934bd077173')
|
||||
group=(sys.devel)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version.src
|
||||
cd llvm-project-$version.src
|
||||
|
||||
unset CFLAGS
|
||||
unset CXXFLAGS
|
||||
|
||||
prepare(){
|
||||
mv ../cmake{-$version.src,}
|
||||
mv ../clang-tools-extra-$version.src ../clang-$version.src/tools/extra
|
||||
}
|
||||
|
||||
local cmake_args=(
|
||||
-G Ninja
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
@@ -59,15 +42,15 @@ local cmake_args=(
|
||||
)
|
||||
|
||||
setup(){
|
||||
mkdir build && cd build
|
||||
cmake .. ${cmake_args[@]}
|
||||
mkdir clang/build
|
||||
cmake -S clang -B clang/build ${cmake_args[@]}
|
||||
}
|
||||
|
||||
build(){
|
||||
ninja -C build ${jobs}
|
||||
ninja -C clang/build ${jobs}
|
||||
}
|
||||
|
||||
package(){
|
||||
ninja -C build install ${jobs}
|
||||
ninja -C clang/build install ${jobs}
|
||||
}
|
||||
|
||||
+20
-26
@@ -1,41 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
name='lld'
|
||||
release='5'
|
||||
version='20.1.7'
|
||||
release='6'
|
||||
version='22.1.0'
|
||||
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'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=(
|
||||
"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"
|
||||
)
|
||||
|
||||
source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz")
|
||||
depends=(llvm)
|
||||
makedepends=()
|
||||
sha256sums=(
|
||||
'9cb94dac7db0e1f2b664469e1574c0b350bec3eacd0cbc524481a6f65fc0f185'
|
||||
'afdab526c9b337a4eacbb401685beb98a18fb576037ecfaa93171d4c644fe791'
|
||||
'46081293b2f857caca68a266cf11fad8366315c470a9a6766868ed6c369bac0c'
|
||||
'10b62d003f16afbd1a5ee0aa6397704c13d9a12a2562103998a8c1eff4a0f1ea'
|
||||
)
|
||||
|
||||
sha256sums=('25d2e2adc4356d758405dd885fcfd6447bce82a90eb78b6b87ce0934bd077173')
|
||||
group=(sys.devel)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version.src
|
||||
|
||||
prepare(){
|
||||
mv ../cmake{-$version.src,}
|
||||
mv ../libunwind{-$version.src,}
|
||||
}
|
||||
cd llvm-project-$version.src
|
||||
|
||||
local cmake_args=(
|
||||
-G Ninja
|
||||
-Wno-dev
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DCMAKE_INSTALL_DOCDIR=share/doc
|
||||
@@ -51,16 +35,26 @@ local cmake_args=(
|
||||
-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(){
|
||||
mkdir build && cd build
|
||||
cmake .. ${cmake_args[@]}
|
||||
mkdir lld/build
|
||||
cmake -S lld -B lld/build ${cmake_args[@]}
|
||||
}
|
||||
|
||||
build(){
|
||||
ninja -C build ${jobs}
|
||||
ninja -C lld/build ${jobs}
|
||||
}
|
||||
|
||||
package(){
|
||||
ninja -C build install ${jobs}
|
||||
ninja -C lld/build install ${jobs}
|
||||
}
|
||||
|
||||
+11
-21
@@ -1,25 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
name='llvm'
|
||||
release='5'
|
||||
version='20.1.7'
|
||||
release='6'
|
||||
version='22.1.0'
|
||||
url='https://llvm.org'
|
||||
description='Low Level Virtual Machine'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("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"
|
||||
"https://anduin.linuxfromscratch.org/BLFS/llvm/llvm-third-party.src.tar.xz")
|
||||
source=("https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz")
|
||||
depends=(libffi xz-utils libxml2 zlib)
|
||||
makedepends=(git)
|
||||
sha256sums=('10b62d003f16afbd1a5ee0aa6397704c13d9a12a2562103998a8c1eff4a0f1ea'
|
||||
'afdab526c9b337a4eacbb401685beb98a18fb576037ecfaa93171d4c644fe791'
|
||||
'640dfceac068374e3dbce3576892712d157705b35dfe13dd17518c256ad29d5e')
|
||||
makedepends=()
|
||||
sha256sums=('25d2e2adc4356d758405dd885fcfd6447bce82a90eb78b6b87ce0934bd077173')
|
||||
group=(sys.devel)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd llvm-$version.src
|
||||
cd llvm-project-$version.src
|
||||
|
||||
export PYTHON=/usr/bin/python3
|
||||
|
||||
@@ -38,31 +34,25 @@ cmake_args=(
|
||||
-DLLVM_ENABLE_RTTI=ON
|
||||
-DLLVM_ENABLE_SPHINX=OFF
|
||||
-DLLVM_INCLUDE_BENCHMARKS=OFF
|
||||
-DLLVM_INCLUDE_TESTS=OFF
|
||||
-DLLVM_INSTALL_UTILS=ON
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||
-DLLVM_USE_PERF=ON
|
||||
-DSPHINX_WARNINGS_AS_ERRORS=OFF
|
||||
)
|
||||
|
||||
prepare(){
|
||||
mv ../cmake{-$version.src,}
|
||||
mv ../llvm-third-party.src ../third-party
|
||||
}
|
||||
|
||||
setup(){
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. ${cmake_args[@]}
|
||||
mkdir llvm/build
|
||||
cmake -S llvm -B llvm/build ${cmake_args[@]}
|
||||
}
|
||||
|
||||
build(){
|
||||
cd build
|
||||
ninja ${jobs}
|
||||
ninja -C llvm/build ${jobs}
|
||||
}
|
||||
|
||||
package(){
|
||||
cd build
|
||||
ninja install ${jobs}
|
||||
ninja -C llvm/build install ${jobs}
|
||||
mv ${DESTDIR}/usr/lib{,64}
|
||||
}
|
||||
|
||||
+14
-11
@@ -1,34 +1,37 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libunwind'
|
||||
release='1'
|
||||
version='1.7.0'
|
||||
release='2'
|
||||
version='1.8.3'
|
||||
url='https://savannah.nongnu.org/projects/libunwind'
|
||||
description='Portable and efficient API to determine the call-chain of a program '
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
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=()
|
||||
makedepends=()
|
||||
md5sums=('e4b4b6376884b02fb540f04b763df7b9')
|
||||
sha256sums=('21b26bc75cd37b548d7952f2794cde711efa6c6151c4147cc3c52cfedbf11df4')
|
||||
group=(sys.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version-rc2
|
||||
cd $name-$version
|
||||
|
||||
unset CFLAGS
|
||||
unset CXXFLAGS
|
||||
|
||||
setup(){
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
|
||||
autoreconf -i
|
||||
./configure --prefix=/usr \
|
||||
--enable-cxx-exceptions \
|
||||
--disable-tests
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
make $job
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user