Skip to content

Commit 42fdf6f

Browse files
committed
[Tizen] Use llvm-18 toolchain
and change ubuntu latest to 22.04
1 parent 6aaf4a9 commit 42fdf6f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build
33
on: [push, pull_request]
44
jobs:
55
build:
6-
runs-on: ubuntu-latest
6+
runs-on: ubuntu-22.04
77
container:
88
image: ghcr.io/flutter-tizen/build-engine:latest
99
credentials:
@@ -54,6 +54,11 @@ 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 dependencies
58+
run: |
59+
apt-get update
60+
apt-get install -y clang-18
61+
5762
- name: Generate sysroot
5863
run: flutter/engine/src/flutter/ci/tizen/generate_sysroot.py --out /tizen_tools/sysroot
5964

@@ -67,7 +72,7 @@ jobs:
6772
--target-os linux \
6873
--linux-cpu ${{ matrix.arch }} \
6974
--no-goma \
70-
--target-toolchain /tizen_tools/toolchains \
75+
--target-toolchain /usr/lib/llvm-18 \
7176
--target-sysroot /tizen_tools/sysroot/${{ matrix.arch }} \
7277
--target-triple ${{ matrix.triple }} \
7378
--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)