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=""