Skip to content

Commit bc0d9bb

Browse files
committed
[Tizen] Upgrade llvm 17 to 18
1 parent bf52744 commit bc0d9bb

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/build-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
password: ${{ secrets.GITHUB_TOKEN }}
1616
- uses: docker/build-push-action@v5
1717
with:
18-
context: ci/tizen
19-
file: ci/tizen/Dockerfile
18+
context: engine/src/flutter/ci/tizen
19+
file: engine/src/flutter/ci/tizen/Dockerfile
2020
push: true
2121
tags: ghcr.io/${{ github.repository_owner }}/build-engine:latest

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,11 @@ jobs:
119119
run: |
120120
mkdir C:\workspace\flutter
121121
cd C:\workspace\flutter
122-
git config --global core.autocrlf true
122+
git config --global core.autocrlf false
123+
git config --global core.filemode false
124+
git config --global core.fscache true
125+
git config --global core.preloadindex true
126+
git config --global depot-tools.allowGlobalGitConfig true
123127
git init --quiet
124128
git remote add origin https://github.com/${{ github.repository }}
125129
git fetch --depth 1 origin ${{ github.sha }}
@@ -158,8 +162,7 @@ jobs:
158162
--runtime-mode=${{ matrix.mode }} `
159163
--no-goma `
160164
--target-dir build
161-
# TODO(jsuya) : https://github.com/flutter/flutter/issues/163487
162-
C:\workspace\flutter\engine\src\flutter/third_party/ninja/ninja -C .\out\build gen_snapshot
165+
ninja -C .\out\build gen_snapshot
163166
164167
- uses: actions/upload-artifact@v4
165168
with:
@@ -216,8 +219,7 @@ jobs:
216219
--disable-desktop-embeddings \
217220
--target-dir build
218221
cd engine/src
219-
# TODO(jsuya) : https://github.com/flutter/flutter/issues/163487
220-
flutter/third_party/ninja/ninja -C out/build clang_arm64/gen_snapshot
222+
ninja -C out/build clang_arm64/gen_snapshot
221223
222224
- uses: actions/upload-artifact@v4
223225
with:
@@ -274,8 +276,7 @@ jobs:
274276
--disable-desktop-embeddings \
275277
--target-dir build
276278
cd engine/src
277-
# TODO(jsuya) : https://github.com/flutter/flutter/issues/163487
278-
flutter/third_party/ninja/ninja -C out/build clang_x64/gen_snapshot
279+
ninja -C out/build clang_x64/gen_snapshot
279280
280281
- uses: actions/upload-artifact@v4
281282
with:

engine/src/flutter/ci/tizen/build_llvm.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ else
1818
cd llvm-project
1919
git init
2020
git remote add origin https://github.com/llvm/llvm-project.git
21-
git fetch --depth=1 origin llvmorg-17.0.6
21+
git fetch --depth=1 origin llvmorg-18.1.8
2222
git checkout FETCH_HEAD
2323
fi
2424

@@ -29,6 +29,7 @@ cmake -G Ninja \
2929
-DLLVM_ENABLE_PROJECTS="clang" \
3030
-DLLVM_TARGETS_TO_BUILD="X86;ARM;AArch64" \
3131
-DCMAKE_C_COMPILER=clang-11 \
32+
-DCMAKE_CXX_FLAGS="-mssse3" \
3233
-DCMAKE_CXX_COMPILER=clang++-11 \
3334
-DCMAKE_BUILD_TYPE=Release \
3435
-DCMAKE_INSTALL_PREFIX="$OUTPUT_DIR" \

0 commit comments

Comments
 (0)