Skip to content

Commit

Permalink
Build mold binary with mold
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Sep 14, 2024
1 parent e7e4132 commit 82feeed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ mkdir /build
cd /build
cmake -DCMAKE_BUILD_TYPE=Release -DMOLD_MOSTLY_STATIC=On /mold
cmake --build . -j\$(nproc)
mv mold mold2
./mold2 -run cmake --build . -j\$(nproc)
ctest -j\$(nproc)
cmake --install . --prefix $dest --strip
find $dest -print | xargs touch --no-dereference --date='$timestamp'
Expand Down

0 comments on commit 82feeed

Please sign in to comment.