From 45f443986a84ab603cf6deb6aea9fd4fd7d886f9 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Sun, 18 Jul 2021 07:38:40 +0200 Subject: [PATCH] readd clang and llvm, as seperate packages --- clang/build | 9 +++++++++ clang/package | 5 +++++ llvm/build | 10 ++++++++++ llvm/package | 5 +++++ 4 files changed, 29 insertions(+) create mode 100755 clang/build create mode 100755 clang/package create mode 100755 llvm/build create mode 100755 llvm/package diff --git a/clang/build b/clang/build new file mode 100755 index 0000000..3ddee0e --- /dev/null +++ b/clang/build @@ -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 diff --git a/clang/package b/clang/package new file mode 100755 index 0000000..e336fae --- /dev/null +++ b/clang/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="12.0.1" +pkg_config_name="clang" +pkg_config_makedepends="" +pkg_config_depends="" diff --git a/llvm/build b/llvm/build new file mode 100755 index 0000000..5a47991 --- /dev/null +++ b/llvm/build @@ -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 diff --git a/llvm/package b/llvm/package new file mode 100755 index 0000000..682822c --- /dev/null +++ b/llvm/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="12.0.1" +pkg_config_name="llvm" +pkg_config_makedepends="" +pkg_config_depends=""