added clang while at it
This commit is contained in:
parent
d7d75205d5
commit
2a0415b014
6 changed files with 33 additions and 0 deletions
8
clang/build
Executable file
8
clang/build
Executable file
|
@ -0,0 +1,8 @@
|
|||
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz
|
||||
tar -xf clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz
|
||||
cd clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04
|
||||
cd OBJ_ROOT
|
||||
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
|
||||
make -j`nproc`
|
||||
make install DESTDIR="$1"
|
||||
|
5
clang/package
Executable file
5
clang/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="0.0.1"
|
||||
pkg_config_name="clang"
|
||||
pkg_config_makedepends="cmake ninja"
|
||||
pkg_config_depends=""
|
6
cmake/build
Executable file
6
cmake/build
Executable file
|
@ -0,0 +1,6 @@
|
|||
wget https://github.com/Kitware/CMake/releases/download/v3.21.0-rc2/cmake-3.21.0-rc2.tar.gz
|
||||
tar -xf cmake-3.21.0-rc2.tar.gz
|
||||
cd cmake-3.21.0-rc2.tar.gz
|
||||
./bootstrap
|
||||
make
|
||||
make install DESTDIR="$1"
|
5
cmake/package
Executable file
5
cmake/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="0.0.1"
|
||||
pkg_config_name="cmake"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
4
ninja/build
Executable file
4
ninja/build
Executable file
|
@ -0,0 +1,4 @@
|
|||
git clone https://github.com/ninja-build/ninja.git
|
||||
cd ninja
|
||||
./configure.py --bootstrap
|
||||
mv ninja "$1"/usr/bin
|
5
ninja/package
Executable file
5
ninja/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="0.0.1"
|
||||
pkg_config_name="ninja"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
Loading…
Reference in a new issue