PR For adding tar, lzma not needed since xz can emulate lzma. #13
7 changed files with 7 additions and 7 deletions
|
@ -3,6 +3,6 @@ tar -xf clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz
|
||||||
cd clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04
|
cd clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04
|
||||||
cd OBJ_ROOT
|
cd OBJ_ROOT
|
||||||
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
|
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
|
||||||
make -j`nproc`
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy=true
|
pkg_config_deploy=true
|
||||||
pkg_config_ver="12.0.0"
|
pkg_config_ver="12.0.0"
|
||||||
pkg_config_name="clang"
|
pkg_config_name="clang"
|
||||||
pkg_config_makedepends="cmake ninja"
|
pkg_config_makedepends="cmake"
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
||||||
|
|
|
@ -12,7 +12,7 @@ sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
|
../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
|
||||||
make -j`nproc`
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
ln -s gcc "$1/usr/bin/cc"
|
ln -s gcc "$1/usr/bin/cc"
|
||||||
echo "#!/bin/sh" > "$1"/usr/bin/c99
|
echo "#!/bin/sh" > "$1"/usr/bin/c99
|
||||||
|
|
|
@ -4,5 +4,5 @@ cd glibc-2.33
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
../configure --prefix=/usr
|
../configure --prefix=/usr
|
||||||
make -j`nproc`
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -3,5 +3,5 @@ tar -xf openssl-3.0.0-beta1.tar.gz
|
||||||
cd openssl-3.0.0-beta1
|
cd openssl-3.0.0-beta1
|
||||||
chmod +x ./config
|
chmod +x ./config
|
||||||
./config --prefix="/usr"
|
./config --prefix="/usr"
|
||||||
make -j`nproc`
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -2,5 +2,5 @@ wget https://ftp.gnu.org/gnu/tar/tar-1.34.tar.xz
|
||||||
tar -xf tar-1.34
|
tar -xf tar-1.34
|
||||||
cd tar-1.34
|
cd tar-1.34
|
||||||
./configure DEFAULT_RMT_DIR=/etc
|
./configure DEFAULT_RMT_DIR=/etc
|
||||||
make -j`nproc`
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
Loading…
Reference in a new issue