Skip to content

Commit

Permalink
[tool] Update llvm-12 to 15
Browse files Browse the repository at this point in the history
clang version in ubuntu-latest(github action) changed from 12 to 13.
At least version 13 or higher should be used.
  • Loading branch information
JSUYA committed Oct 6, 2023
1 parent bc79461 commit cb38d58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: |
src/tools/gn \
--target-cpu ${{ matrix.arch }} \
--target-toolchain /usr/lib/llvm-12 \
--target-toolchain /usr/lib/llvm-15 \
--target-dir build
ninja -C src/out/build
Expand All @@ -61,7 +61,7 @@ jobs:
run: |
src/tools/gn \
--target-cpu ${{ matrix.arch }} \
--target-toolchain /usr/lib/llvm-12 \
--target-toolchain /usr/lib/llvm-15 \
--target-sysroot src/sysroot-6.5/${{ matrix.arch }} \
--api-version 6.5 --system-cxx \
--target-dir build
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The Flutter embedder for Tizen.
- Linux (x64)
- [depot_tools](https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up)
- [LLVM](https://apt.llvm.org) (10 or later)
- `sudo apt install clang-12`
- `sudo apt install clang-15`
- Additional dependencies
- `sudo apt install git python3 rpm2cpio cpio`
- `sudo apt install binutils-arm-linux-gnueabi binutils-aarch64-linux-gnu binutils-i686-linux-gnu`
Expand All @@ -37,21 +37,21 @@ The Flutter embedder for Tizen.
- **For arm**

```sh
tools/gn --target-cpu arm --target-toolchain /usr/lib/llvm-12
tools/gn --target-cpu arm --target-toolchain /usr/lib/llvm-15
ninja -C out/tizen_arm
```

- **For arm64**

```sh
tools/gn --target-cpu arm64 --target-toolchain /usr/lib/llvm-12
tools/gn --target-cpu arm64 --target-toolchain /usr/lib/llvm-15
ninja -C out/tizen_arm64
```

- **For x86**

```sh
tools/gn --target-cpu x86 --target-toolchain /usr/lib/llvm-12
tools/gn --target-cpu x86 --target-toolchain /usr/lib/llvm-15
ninja -C out/tizen_x86
```

Expand Down

0 comments on commit cb38d58

Please sign in to comment.