forked from alnux/repo
Merge pull request 'Add bash, remove clang, fix gcc.' (#15) from Ohio2/repo:master into master
Reviewed-on: alnux/repo#15 so true
This commit is contained in:
commit
298d700fbc
5 changed files with 16 additions and 14 deletions
6
bash/build
Normal file
6
bash/build
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
wget https://ftp.gnu.org/gnu/bash/bash-5.1.8.tar.gz
|
||||||
|
tar -xf bash-5.1.8.tar.gz
|
||||||
|
cd bash-5.1.8
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
make install
|
5
bash/package
Executable file
5
bash/package
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
pkg_config_deploy=true
|
||||||
|
pkg_config_ver="5.1.8"
|
||||||
|
pkg_config_name="bash"
|
||||||
|
pkg_config_makedepends=""
|
||||||
|
pkg_config_depends=""
|
|
@ -1,7 +0,0 @@
|
||||||
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"
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
pkg_config_deploy=true
|
|
||||||
pkg_config_ver="12.0.0"
|
|
||||||
pkg_config_name="clang"
|
|
||||||
pkg_config_makedepends="cmake"
|
|
||||||
pkg_config_depends=""
|
|
|
@ -7,8 +7,11 @@ wget https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
|
||||||
tar -xf gmp-6.2.1.tar.xz
|
tar -xf gmp-6.2.1.tar.xz
|
||||||
tar -xf mpfr-4.1.0.tar.xz
|
tar -xf mpfr-4.1.0.tar.xz
|
||||||
tar -xf mpc-1.2.1.tar.gz
|
tar -xf mpc-1.2.1.tar.gz
|
||||||
sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
|
mv gmp-6.2.1 gmp
|
||||||
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
|
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
|
||||||
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++
|
||||||
|
|
Loading…
Reference in a new issue