Upgrade to 8.1.3-3 #2
4 changed files with 20 additions and 42 deletions
|
@ -9,15 +9,15 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ubuntu:22.04
|
image: ubuntu:22.04
|
||||||
env:
|
env:
|
||||||
pkgver: 8.1.1
|
pkgver: 8.1.3
|
||||||
buildno: 39
|
buildno: 3
|
||||||
qtver: 5.15.3
|
qtver: 5.15.3
|
||||||
steps:
|
steps:
|
||||||
- name: Environment setup
|
- name: Environment setup
|
||||||
run: |
|
run: |
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y git make g++ bzip2 sudo patch python2 curl lsb-release p7zip-full qtbase5-dev debhelper
|
apt-get install -y git make g++ bzip2 sudo patch python2 curl lsb-release p7zip-full qtbase5-dev debhelper clang-14 lld-14
|
||||||
curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
npm install -g pkg grunt grunt-cli
|
npm install -g pkg grunt grunt-cli
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
- name: Applying patches
|
- name: Applying patches
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/core_v8-no-enum-constexrp-conversion.patch
|
git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/core_v8-use-system-clang.patch
|
||||||
git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/disable-licensing-limits.patch
|
git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/disable-licensing-limits.patch
|
||||||
- name: Development setup
|
- name: Development setup
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -8,15 +8,15 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ubuntu:22.04
|
image: ubuntu:22.04
|
||||||
env:
|
env:
|
||||||
pkgver: 8.1.1
|
pkgver: 8.1.3
|
||||||
buildno: 39
|
buildno: 3
|
||||||
qtver: 5.15.3
|
qtver: 5.15.3
|
||||||
steps:
|
steps:
|
||||||
- name: Environment setup
|
- name: Environment setup
|
||||||
run: |
|
run: |
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y git make g++ bzip2 sudo patch python2 curl lsb-release p7zip-full qtbase5-dev debhelper
|
apt-get install -y git make g++ bzip2 sudo patch python2 curl lsb-release p7zip-full qtbase5-dev debhelper clang-14 lld-14
|
||||||
curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
npm install -g pkg grunt grunt-cli
|
npm install -g pkg grunt grunt-cli
|
||||||
|
@ -33,7 +33,7 @@ jobs:
|
||||||
- name: Applying patches
|
- name: Applying patches
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/core_v8-no-enum-constexrp-conversion.patch
|
git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/core_v8-use-system-clang.patch
|
||||||
git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/disable-licensing-limits.patch
|
git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/disable-licensing-limits.patch
|
||||||
- name: Development setup
|
- name: Development setup
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
diff --git a/core/Common/3dParty/v8/tools/no-enum-constexrp-conversion.patch b/core/Common/3dParty/v8/tools/no-enum-constexrp-conversion.patch
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000000..5a1a8067a6
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/core/Common/3dParty/v8/tools/no-enum-constexrp-conversion.patch
|
|
||||||
@@ -0,0 +1,14 @@
|
|
||||||
+diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
|
||||||
+index 5ea2f213..29fa7742 100644
|
|
||||||
+--- a/build/config/compiler/BUILD.gn
|
|
||||||
++++ b/build/config/compiler/BUILD.gn
|
|
||||||
+@@ -1548,6 +1548,9 @@ config("default_warnings") {
|
|
||||||
+ # TODO(https://crbug.com/989932): Evaluate and possibly enable.
|
|
||||||
+ "-Wno-implicit-int-float-conversion",
|
|
||||||
+
|
|
||||||
++ "-Wno-enum-constexpr-conversion",
|
|
||||||
++
|
|
||||||
++
|
|
||||||
+ # TODO(https://crbug.com/999886): Clean up, enable.
|
|
||||||
+ "-Wno-final-dtor-non-final-class",
|
|
||||||
+
|
|
||||||
diff --git a/build_tools/scripts/core_common/modules/v8_89.py b/core/build_tools/core_common/modules/v8_89.py
|
|
||||||
index 9643263..35ee1fe 100644
|
|
||||||
--- a/build_tools/scripts/core_common/modules/v8_89.py
|
|
||||||
+++ b/build_tools/scripts/core_common/modules/v8_89.py
|
|
||||||
@@ -150,6 +150,8 @@ def make():
|
|
||||||
"use_custom_libcxx=false",
|
|
||||||
"treat_warnings_as_errors=false"]
|
|
||||||
|
|
||||||
+ base.cmd("patch", ["-p1", "-i", "../../v8/tools/no-enum-constexrp-conversion.patch"])
|
|
||||||
+
|
|
||||||
if config.check_option("platform", "linux_64"):
|
|
||||||
base.cmd2("gn", ["gen", "out.gn/linux_64", make_args(gn_args, "linux")])
|
|
||||||
base.cmd("ninja", ["-C", "out.gn/linux_64"])
|
|
||||||
|
|
12
core_v8-use-system-clang.patch
Normal file
12
core_v8-use-system-clang.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- a/build_tools/scripts/core_common/modules/v8_89.py
|
||||||
|
+++ b/build_tools/scripts/core_common/modules/v8_89.py
|
||||||
|
@@ -48,6 +48,8 @@ def make_args(args, platform, is_64=True, is_debug=False):
|
||||||
|
|
||||||
|
if (platform == "linux"):
|
||||||
|
args_copy.append("is_clang=true")
|
||||||
|
+ args_copy.append("clang_base_path=\\\"/usr/lib/llvm-14\\\"")
|
||||||
|
+ args_copy.append("clang_use_chrome_plugins=false")
|
||||||
|
args_copy.append("use_sysroot=false")
|
||||||
|
if (platform == "windows"):
|
||||||
|
args_copy.append("is_clang=false")
|
||||||
|
|
Loading…
Add table
Reference in a new issue