Built mold
This commit is contained in:
parent
bb0d0c5433
commit
0a5a1839bc
@ -4,13 +4,13 @@ This document tracks which packages can be built and packaged within the chroot.
|
|||||||
| ------------ | ---------- | ------------ |
|
| ------------ | ---------- | ------------ |
|
||||||
| `busybox` | No | No |
|
| `busybox` | No | No |
|
||||||
| `bzip2` | Yes | Yes |
|
| `bzip2` | Yes | Yes |
|
||||||
| `cmake` | Yes | No |
|
| `cmake` | Yes | Yes |
|
||||||
| `libarchive` | Yes | Yes |
|
| `libarchive` | Yes | Yes |
|
||||||
| `libressl` | Yes | Yes |
|
| `libressl` | Yes | Yes |
|
||||||
| `linux` | No | No |
|
| `linux` | No | No |
|
||||||
| `llvm` | No | No |
|
| `llvm` | No | No |
|
||||||
| `make` | Yes | Yes |
|
| `make` | Yes | Yes |
|
||||||
| `mold` | No | No |
|
| `mold` | Yes | Yes |
|
||||||
| `musl` | Yes | Yes |
|
| `musl` | Yes | Yes |
|
||||||
| `xz` | Yes | Yes |
|
| `xz` | Yes | Yes |
|
||||||
| `zlib` | Yes | Yes |
|
| `zlib` | Yes | Yes |
|
||||||
@ -19,7 +19,8 @@ make -j $(nproc) install DESTDIR=/
|
|||||||
# missing functionality! ~ahill
|
# missing functionality! ~ahill
|
||||||
# NOTE: CMake requires LibreSSL and libarchive to function properly so it is
|
# NOTE: CMake requires LibreSSL and libarchive to function properly so it is
|
||||||
# built after that. ~ahill
|
# built after that. ~ahill
|
||||||
PACKAGES="bzip2 libressl make musl xz zlib libarchive cmake"
|
# NOTE: mold requires CMake to build. ~ahill
|
||||||
|
PACKAGES="bzip2 libressl make musl xz zlib libarchive cmake mold"
|
||||||
for pkg in $PACKAGES; do
|
for pkg in $PACKAGES; do
|
||||||
treetap fetch sources/$pkg/$pkg.spec
|
treetap fetch sources/$pkg/$pkg.spec
|
||||||
treetap build sources/$pkg/$pkg.spec
|
treetap build sources/$pkg/$pkg.spec
|
||||||
|
|||||||
@ -6,7 +6,6 @@ SRC_URL="https://github.com/rui314/mold/archive/refs/tags/v2.40.4.tar.gz"
|
|||||||
SRC_VERSION="2.40.4"
|
SRC_VERSION="2.40.4"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
echo "DEBUG: $TT_CMAKE_COMMON"
|
|
||||||
tar xf ../$SRC_FILENAME
|
tar xf ../$SRC_FILENAME
|
||||||
cd mold-*/
|
cd mold-*/
|
||||||
cmake -B build $TT_CMAKE_COMMON
|
cmake -B build $TT_CMAKE_COMMON
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user