Compare commits

..

No commits in common. "2549a43d6aeacdcc93f495922689b039f9ce4b1d" and "6353bea62627c262ddfb07d20137380d5decfbce" have entirely different histories.

3 changed files with 14 additions and 5 deletions

7
clang/build Executable file
View file

@ -0,0 +1,7 @@
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
untar -xf clang-12.0.1.src.tar.xz
cd clang-12.0.1.src
cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
make
make install DESTDIR="$1"

5
clang/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="12.0.0"
pkg_config_name="clang"
pkg_config_makedepends="cmake"
pkg_config_depends=""

View file

@ -7,11 +7,8 @@ wget https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
tar -xf gmp-6.2.1.tar.xz
tar -xf mpfr-4.1.0.tar.xz
tar -xf mpc-1.2.1.tar.gz
mv gmp-6.2.1 gmp
mv mpfr-4.1.0 mpfr
mv mpc-1.2.1 mpc
sed -i '/m64=/s/lib64/lib/' ./config/i386/t-linux64
sed -i 's/lib64/lib/' ./config/i386/linux64.h
sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
mkdir build
cd build
../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++