Rebuilds with mold 1.5.1 to fix breakage from mold 1.5.0 (#7439)

* rebuilds of re2c, ninja with mold 1.5.1

* mold -> 1.5.1

* rebuilds of libssh libnghttp2 libidn2 libpsl libcurl

* cleanup

* add bash rebuild

* cmake rebuild

* suggested changes
This commit is contained in:
Satadru Pramanik
2022-09-30 12:55:59 -04:00
committed by GitHub
parent 6364c8f42e
commit 48789d7b89
10 changed files with 95 additions and 102 deletions

View File

@@ -6,22 +6,22 @@ require 'package'
class Mold < Package
description 'A Modern Linker'
homepage 'https://github.com/rui314/mold'
version '1.5.0'
version '1.5.1'
compatibility 'all'
source_url 'https://github.com/rui314/mold.git'
git_hashtag "v#{version}"
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mold/1.5.0_armv7l/mold-1.5.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mold/1.5.0_armv7l/mold-1.5.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mold/1.5.0_i686/mold-1.5.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mold/1.5.0_x86_64/mold-1.5.0-chromeos-x86_64.tar.zst'
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mold/1.5.1_armv7l/mold-1.5.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mold/1.5.1_armv7l/mold-1.5.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mold/1.5.1_i686/mold-1.5.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mold/1.5.1_x86_64/mold-1.5.1-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '8f1965c6201a432804cc9b753163c2649df67106996d9adc5a983bdb22df12a5',
armv7l: '8f1965c6201a432804cc9b753163c2649df67106996d9adc5a983bdb22df12a5',
i686: '212d9bdbdc56de6b4ef2fc8b679051513f3111e16ea645896e28a80872cfa405',
x86_64: '0130c27743f8950f020a5cd0c5aa90119f37e01e5b69e99328b90e321bc091d1'
aarch64: 'f1da60f74a1245e58f63653f51809a561148b686c7cd8e774bd1ac52e8d8adf6',
armv7l: 'f1da60f74a1245e58f63653f51809a561148b686c7cd8e774bd1ac52e8d8adf6',
i686: '206e00b6c434f3f8e4ed22908b1e553d04ef3b220df164b48b7d1e64b3cfd43d',
x86_64: 'b5c722ab76e66be8d940aa35e3d78904948c5db767e9457fc88f230c2bdeec2a'
})
depends_on 'zlibpkg' # R
@@ -36,8 +36,8 @@ class Mold < Package
Dir.chdir('builddir') do
system "cmake #{CREW_CMAKE_OPTIONS} \
-DBUILD_TESTING=OFF \
-DMOLD_USE_MOLD=ON \
-DMOLD_LTO=ON \
-DMOLD_USE_MOLD=ON \
-Wno-dev \
../ -G Ninja"
end