1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-11 13:06:59 +03:00
Commit Graph

47 Commits

Author SHA1 Message Date
Rui Ueyama
052b89e8d6 Copy mold to the top source directory
test/gentoo-test.sh depends on the presence of the file.
2024-03-14 16:15:29 +09:00
Rui Ueyama
da0ee683a3 Show sha256 checksum 2024-03-02 13:27:27 +09:00
Rui Ueyama
c02c04f08a Improve dist.sh 2023-11-20 11:55:14 +09:00
Rui Ueyama
04b145d795 Add comments and fix SHA256 digest 2023-11-19 09:36:04 +09:00
Rui Ueyama
1830fa1d84 Pin docker images with sha256 digests for additional security 2023-11-18 12:25:37 +09:00
Rui Ueyama
29df7093a8 Refactor 2023-11-17 17:18:53 +09:00
Rui Ueyama
667204ac7c Make dist.sh to work on macOS 2023-11-17 15:09:31 +09:00
Rui Ueyama
76ea83e791 Create binary tarballs for non-x86-46 targets 2023-11-17 14:15:04 +09:00
Rui Ueyama
55daf7385d Cache Docker images for GitHub Actions 2023-11-17 13:42:54 +09:00
Rui Ueyama
fe485db9b4 Refactor 2023-11-16 18:30:31 +09:00
Rui Ueyama
25ceab07f7 Build mold on Debian 8 (Jessie)
Debian 8 was released in April 2015, which is old enough for
binary distribution. Previously, we used to use Debian 10 (Bullseye),
which was released in July 2019.
2023-11-14 12:44:02 +09:00
Rui Ueyama
5f2fb08cfd Make dist.sh reproducible
dist.sh script should now produce bit-by-bit identical output files now.

Fixes https://github.com/rui314/mold/issues/1146
2023-11-13 17:14:37 +09:00
Rui Ueyama
5f7aca6276 Revert "Make container interruptible with Ctrl-C"
This reverts commit 5c4955763b because
it broke CI.
2023-10-22 15:53:50 +09:00
Rui Ueyama
5c4955763b Make container interruptible with Ctrl-C 2023-10-22 13:04:56 +09:00
Rui Ueyama
dae070283b Do not depend on the current path 2023-10-22 12:56:48 +09:00
Rui Ueyama
403655904b Merge two scripts into one 2023-10-21 23:30:12 +09:00
Rui Ueyama
44942b638b Do not copy mold and mold-wrapper.so to the top source directory 2023-10-21 20:49:43 +09:00
Rui Ueyama
53a5a37370 Refactor 2023-10-20 22:33:39 +09:00
Rui Ueyama
6fe0cadfa1 Enable building of RV64 distribution file 2023-10-19 14:12:54 +09:00
Rui Ueyama
c4722fe5ae Build Linux binaries on GitHub Actions 2023-03-05 14:46:32 +08:00
Rui Ueyama
9f66ea7026 Build the native binary by default 2023-01-18 16:29:25 +08:00
Rui Ueyama
b09be697b5 Revert "Link against libc++ instead of libstdc++ if -DMOLD_MOSTLY_STATIC"
This reverts commit 94122f4ffd.

Fixes https://github.com/rui314/mold/issues/905
2022-12-07 14:39:20 +08:00
Rui Ueyama
94122f4ffd Link against libc++ instead of libstdc++ if -DMOLD_MOSTLY_STATIC 2022-11-13 16:31:00 +08:00
Rui Ueyama
bd555b33ab Do not run tests if ARM32
I don't know why, but ctests fail only on ARM32 on Docker.
2022-11-06 15:55:40 +08:00
Rui Ueyama
d0210b85b9 Run tests before install 2022-10-24 16:19:01 +08:00
Rui Ueyama
4379dc4afa Prepare to distribute binary packages for arm, ppc64le and s390x 2022-10-24 13:54:39 +08:00
Zhong Ruoyu
89f8990dde
dist.sh: do not proceed when cmake --build fails
Signed-off-by: Zhong Ruoyu <zhongruoyu@outlook.com>
2022-10-04 14:11:49 +08:00
Rui Ueyama
9db16a87f5 Improve build script 2022-09-27 11:50:09 +08:00
Rui Ueyama
264ca5aab4 Bug fix 2022-09-22 15:56:23 +08:00
Rui Ueyama
f0f8b30a2d Create an Docker multi-architecture build image
So that we can create binary distribution images on any machine.
2022-09-15 15:30:21 +08:00
Rui Ueyama
46be0e152b Fix a build issue on macOS 2022-08-10 15:08:30 +08:00
Rui Ueyama
b55cd9be14 Fix build errors 2022-08-10 14:29:37 +08:00
Rui Ueyama
415673a49e Simplify 2022-08-08 17:20:24 +08:00
Rui Ueyama
0c1c48c3b2 Use CMake in dist.sh 2022-08-08 17:11:32 +08:00
Rui Ueyama
3041714a16 Update to LLVM 15 and OpenSSL 3.0.5 2022-08-08 14:03:56 +08:00
lancethepants
cd3d82c89e Also copy mold-wrapper.so from docker build.
Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
2022-06-17 08:32:31 -06:00
Rui Ueyama
1c84145810 Remove an unnecessary command
`make install` now creates /usr/local/libexec/ld as a a relative
symbolic link, so this `ln` is not needed.
2022-04-21 19:11:09 +08:00
Rui Ueyama
3fb93c7cc8 Simplify 2022-04-20 10:21:39 +08:00
Rui Ueyama
1f55e40a8a Canonicalize the tar file name for ARM64 2022-04-15 20:02:37 +08:00
Rui Ueyama
c4af13889d Refactor 2022-04-10 11:03:53 +08:00
Rui Ueyama
01d2dd8dd9 Allow to pass extra CXXFLAGS 2022-04-09 15:39:32 +08:00
Rui Ueyama
6109154a07 Refactor 2022-04-09 15:24:51 +08:00
Rui Ueyama
49d4dac7e6 Push a build environment to DockerHub 2022-04-09 14:43:16 +08:00
Rui Ueyama
e90ad9be16 Build OpenSSL 3 only once
dist.sh compiles OpenSSL 3 for a license reason. We don't need to
build it every time the script is run.
2022-04-08 19:04:19 +08:00
Rui Ueyama
16bdf4009a Pass -O2 to the compiler 2022-02-22 11:49:17 +09:00
Rui Ueyama
4a6e71096c Fix Gentoo build script as build-static.sh is gone 2022-02-19 21:57:36 +09:00
Rui Ueyama
064be343f5 Remove build-static.sh as the statically-linked mold can't do LTO
This commit removes build-static.sh because statically-linked mold
executable can't generally dlopen a shared library and therefore can't
load the linker LTO plugin.

Now, build-dynamic.sh is renamed dist.sh and recommended for general
use.
2022-02-19 12:00:51 +09:00