forked from alnux/repo
readd clang and llvm, as seperate packages
This commit is contained in:
parent
17cc2c55b4
commit
45f443986a
4 changed files with 29 additions and 0 deletions
9
clang/build
Executable file
9
clang/build
Executable file
|
@ -0,0 +1,9 @@
|
|||
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
|
||||
tar -xf clang-12.0.1.src.tar.xz
|
||||
cd clang-12.0.1.src
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm
|
||||
make
|
||||
make DESTDIR="$1" install
|
5
clang/package
Executable file
5
clang/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="12.0.1"
|
||||
pkg_config_name="clang"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
10
llvm/build
Executable file
10
llvm/build
Executable file
|
@ -0,0 +1,10 @@
|
|||
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/llvm-12.0.1.src.tar.xz
|
||||
tar -xf llvm-12.0.1.src.tar.xz
|
||||
cd llvm-12.0.1.src
|
||||
|
||||
mkdir build
|
||||
|
||||
cmake -S llvm -B build -G 'Unix Makefiles'
|
||||
cd build
|
||||
make
|
||||
make DESTDIR="$1" install
|
5
llvm/package
Executable file
5
llvm/package
Executable file
|
@ -0,0 +1,5 @@
|
|||
pkg_config_deploy=true
|
||||
pkg_config_ver="12.0.1"
|
||||
pkg_config_name="llvm"
|
||||
pkg_config_makedepends=""
|
||||
pkg_config_depends=""
|
Loading…
Reference in a new issue