Title: [293887] trunk/Tools/buildstream
- Revision
- 293887
- Author
- [email protected]
- Date
- 2022-05-06 07:45:43 -0700 (Fri, 06 May 2022)
Log Message
Update mold to version 1.2.1 https://bugs.webkit.org/show_bug.cgi?id=240162
Reviewed by Philippe Normand.
Update Mold to version 1.2.1, which now properly supports --gdb-index and Clang's
ThinLTO (on top of regular LTO support). The copy of libtbb bundled with the Mold
sources does no longer build with the rest of tooling from the SDK, so this patch
adds Buildstream elements for it and its hwloc dependency; both these two packages
are built with the minimal set of options needed to build Mold.
* elements/sdk/hwloc.bst: Added.
* elements/sdk/mold.bst: Updated to version 1.2.1
* elements/sdk/tbb.bst: Added.
Canonical link: https://commits.webkit.org/250345@main
Modified Paths
Added Paths
Diff
Modified: trunk/Tools/buildstream/ChangeLog (293886 => 293887)
--- trunk/Tools/buildstream/ChangeLog 2022-05-06 09:52:39 UTC (rev 293886)
+++ trunk/Tools/buildstream/ChangeLog 2022-05-06 14:45:43 UTC (rev 293887)
@@ -1,3 +1,20 @@
+2022-05-06 Adrian Perez de Castro <[email protected]>
+
+ [Flatpak SDK] Update mold to version 1.2.1
+ https://bugs.webkit.org/show_bug.cgi?id=240162
+
+ Reviewed by Philippe Normand.
+
+ Update Mold to version 1.2.1, which now properly supports --gdb-index and Clang's
+ ThinLTO (on top of regular LTO support). The copy of libtbb bundled with the Mold
+ sources does no longer build with the rest of tooling from the SDK, so this patch
+ adds Buildstream elements for it and its hwloc dependency; both these two packages
+ are built with the minimal set of options needed to build Mold.
+
+ * elements/sdk/hwloc.bst: Added.
+ * elements/sdk/mold.bst: Updated to version 1.2.1
+ * elements/sdk/tbb.bst: Added.
+
2022-05-05 Philippe Normand <[email protected]>
[Flatpak SDK] Bump to GStreamer 1.20.2
Added: trunk/Tools/buildstream/elements/sdk/hwloc.bst (0 => 293887)
--- trunk/Tools/buildstream/elements/sdk/hwloc.bst (rev 0)
+++ trunk/Tools/buildstream/elements/sdk/hwloc.bst 2022-05-06 14:45:43 UTC (rev 293887)
@@ -0,0 +1,17 @@
+kind: autotools
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+
+variables:
+ conf-local: >-
+ --disable-cairo
+ --disable-cuda
+ --disable-picky
+ --enable-plugins
+ --without-x
+
+sources:
+- kind: tar
+ url: https://www.open-mpi.org/software/hwloc/v2.7/downloads/hwloc-2.7.1.tar.bz2
+ ref: 0d4e1d36c3a72c5d61901bfd477337f5a4c7e0a975da57165237d00e35ef528d
Modified: trunk/Tools/buildstream/elements/sdk/mold.bst (293886 => 293887)
--- trunk/Tools/buildstream/elements/sdk/mold.bst 2022-05-06 09:52:39 UTC (rev 293886)
+++ trunk/Tools/buildstream/elements/sdk/mold.bst 2022-05-06 14:45:43 UTC (rev 293887)
@@ -2,9 +2,11 @@
depends:
- freedesktop-sdk.bst:bootstrap-import.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-cmake.bst
+- sdk/tbb.bst
variables:
- make: make PREFIX="%{prefix}" LTO=1
+ make: make PREFIX="%{prefix}" LTO=1 SYSTEM_TBB=1
+
sources:
- kind: git_tag
url: github_com:rui314/mold.git
@@ -11,4 +13,4 @@
checkout-submodules: false
track-tags: true
track: main
- ref: v1.0.2-0-g6fb64656b92553ae47a9b058da8c93083be779d5
+ ref: v1.2.1-0-gc8d8f86a52084c96e2663d9f692c51e98c04cc2f
Added: trunk/Tools/buildstream/elements/sdk/tbb.bst (0 => 293887)
--- trunk/Tools/buildstream/elements/sdk/tbb.bst (rev 0)
+++ trunk/Tools/buildstream/elements/sdk/tbb.bst 2022-05-06 14:45:43 UTC (rev 293887)
@@ -0,0 +1,29 @@
+kind: cmake
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-cmake.bst
+
+depends:
+- sdk/hwloc.bst
+
+variables:
+ cmake-local: >-
+ -DTBB4PY_BUILD=OFF
+ -DTBBMALLOC_BUILD=OFF
+ -DTBB_BENCH=OFF
+ -DTBB_BUILD=ON
+ -DTBB_CPF=OFF
+ -DTBB_DISABLE_HWLOC_AUTOMATIC_SEARCH=OFF
+ -DTBB_EXAMPLES=OFF
+ -DTBB_FIND_PACKAGE=OFF
+ -DTBB_STRICT=OFF
+ -DTBB_TEST=OFF
+ -DBUILD_SHARED_LIBS=ON
+
+sources:
+- kind: git_tag
+ url: github_com:oneapi-src/oneTBB.git
+ checkout-submodules: false
+ track-tags: true
+ track: master
+ ref: v2021.5.0-g3df08fe234f23e732a122809b40eb129ae22733f
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes