mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 17:56:11 +08:00
wasm: update emscripten to 3.1.37
Qt 6.6 will require emscripten 3.1.37
Change-Id: I24d172b9ba055c690274a99af109b50cd2f79b88
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
(cherry picked from commit 13c53ef79f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
9075653904
commit
2a9e989c97
@@ -44,7 +44,7 @@ source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||
# shellcheck source=./DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
|
||||
version="3.1.25"
|
||||
version="3.1.37"
|
||||
versionNode="v14.18.2"
|
||||
tarBallVersion=$(sed "s/\./\_/g" <<<"$version")
|
||||
if uname -a |grep -q Darwin; then
|
||||
@@ -60,15 +60,13 @@ target="/tmp/${tarBallPackage}"
|
||||
mkdir -p /opt
|
||||
cd /opt
|
||||
echo "URL: $cacheUrl"
|
||||
DownloadURL "$cacheUrl" "" "$sha" "$target" || (
|
||||
echo "Emsdk isn't cached. Cloning it"
|
||||
sudo git clone https://github.com/emscripten-core/emsdk.git
|
||||
)
|
||||
|
||||
if [ -f "$target" ]; then
|
||||
if DownloadURL "$cacheUrl" "" "$sha" "$target"; then
|
||||
sudo tar -xzf "$target" -C /opt/
|
||||
sudo rm -f "$target"
|
||||
else
|
||||
echo "Emsdk isn't cached. Cloning it"
|
||||
sudo git clone https://github.com/emscripten-core/emsdk.git
|
||||
cd emsdk
|
||||
sudo ./emsdk install "$version"
|
||||
sudo ./emsdk activate "$version"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
# This script will install emscripten needed by WebAssembly
|
||||
|
||||
$version = "3.1.25"
|
||||
$version = "3.1.37"
|
||||
$zipVersion = $version -replace '\.', "_"
|
||||
$temp = "$env:tmp"
|
||||
$cacheUrl = "https://ci-files01-hki.ci.qt.io/input/emsdk/emsdk_windows_${zipVersion}.zip"
|
||||
|
||||
Reference in New Issue
Block a user