Merge pull request 'readd clang and llvm, as seperate packages' (#30) from Ohio2/repo:master into master

Reviewed-on: #30
This commit is contained in:
hippoz 2021-07-18 06:42:16 +01:00
commit 203e0834d1
4 changed files with 29 additions and 0 deletions

9
clang/build Executable file
View 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
View 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
View 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
View 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=""