1
1
mirror of https://github.com/rui314/mold.git synced 2024-11-14 16:31:42 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Rui Ueyama
3e3d58b6f1 Static-link oneTBB by default
oneTBB API is changing rapidly, so even if a oneTBB is installed
into a system already, it is likely that that is not a compatible
version with mold. This makes program building unnecessarily hard.

This change intends to solve the problem once and for all by
including oneTBB as a subdirectory and static-link against it at
build-time.

oneTBB is released under the Apache License 2.0, which is compatible
with AGPL. Therefore, we can still distribute the binary of mold
under AGPL.

If you do not want to static-link oneTBB, pass `SYSTEM_TBB=1`
to `make`.

This change also ports mold from oneTBB v2020.3 to v2021.3.0.

Fixes https://github.com/rui314/mold/issues/66
2021-07-03 00:08:33 +09:00
Rui Ueyama
be34b9c26f Remove an existing file if it is not statically-linked 2021-05-25 15:49:42 +09:00
Rui Ueyama
a69f4c8b60 Exit immediately if a command fails 2021-05-21 12:50:11 +09:00
Rui Ueyama
d01fbc4b2e Simplify 2021-05-20 15:02:13 +09:00
Rui Ueyama
effadb0296 Update build procedure 2021-05-18 16:57:54 +09:00