Built mold

This commit is contained in:
Alexander Hill 2025-11-23 21:14:36 -05:00
parent bb0d0c5433
commit 0a5a1839bc
3 changed files with 4 additions and 4 deletions

View File

@ -4,13 +4,13 @@ This document tracks which packages can be built and packaged within the chroot.
| ------------ | ---------- | ------------ |
| `busybox` | No | No |
| `bzip2` | Yes | Yes |
| `cmake` | Yes | No |
| `cmake` | Yes | Yes |
| `libarchive` | Yes | Yes |
| `libressl` | Yes | Yes |
| `linux` | No | No |
| `llvm` | No | No |
| `make` | Yes | Yes |
| `mold` | No | No |
| `mold` | Yes | Yes |
| `musl` | Yes | Yes |
| `xz` | Yes | Yes |
| `zlib` | Yes | Yes |

View File

@ -19,7 +19,8 @@ make -j $(nproc) install DESTDIR=/
# missing functionality! ~ahill
# NOTE: CMake requires LibreSSL and libarchive to function properly so it is
# 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
treetap fetch sources/$pkg/$pkg.spec
treetap build sources/$pkg/$pkg.spec

View File

@ -6,7 +6,6 @@ SRC_URL="https://github.com/rui314/mold/archive/refs/tags/v2.40.4.tar.gz"
SRC_VERSION="2.40.4"
build() {
echo "DEBUG: $TT_CMAKE_COMMON"
tar xf ../$SRC_FILENAME
cd mold-*/
cmake -B build $TT_CMAKE_COMMON