Skip to content

Commit 56e3c65

Browse files
committed
[Tizen] Use llvm-18 toolchain
1 parent 6aaf4a9 commit 56e3c65

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ jobs:
5454
gclient setdep --var=download_dart_sdk=False --var=download_android_deps=False --var=download_fuchsia_deps=False --deps-file=DEPS
5555
gclient sync -v --no-history --shallow
5656
57+
- name: Install LLVM-18
58+
run: |
59+
apt update
60+
apt install -y wget gnupg lsb-release software-properties-common
61+
wget https://apt.llvm.org/llvm.sh
62+
chmod +x llvm.sh
63+
./llvm.sh 18
64+
5765
- name: Generate sysroot
5866
run: flutter/engine/src/flutter/ci/tizen/generate_sysroot.py --out /tizen_tools/sysroot
5967

@@ -67,7 +75,7 @@ jobs:
6775
--target-os linux \
6876
--linux-cpu ${{ matrix.arch }} \
6977
--no-goma \
70-
--target-toolchain /tizen_tools/toolchains \
78+
--target-toolchain /usr/lib/llvm-18 \
7179
--target-sysroot /tizen_tools/sysroot/${{ matrix.arch }} \
7280
--target-triple ${{ matrix.triple }} \
7381
--runtime-mode ${{ matrix.mode }} \

engine/src/build/config/compiler/BUILD.gn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ config("compiler") {
374374
# TODO(crbug.com/1374347): Cleanup undefined symbol errors caught by
375375
# --no-undefined-version.
376376
if (is_clang && !is_win && !is_mac && !is_ios && !is_wasm) {
377-
ldflags += [ "-Wl,--undefined-version" ]
378377
}
379378

380379
# C++ compiler flags setup.

0 commit comments

Comments
 (0)