Skip to content

Commit 0238002

Browse files
swift-kimJSUYA
authored andcommitted
[Tizen] Upgrade Clang to 17.0.6
1 parent 6ad84cf commit 0238002

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

ci/tizen/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/llvm-project*/
2-
/toolchains/
2+
/toolchains*/
33
/sysroot/

ci/tizen/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
### Stage for building LLVM ###
33
###############################
44

5-
FROM ubuntu:20.04 AS llvm
5+
FROM ubuntu:22.04 AS llvm
66

77
ENV DEBIAN_FRONTEND=noninteractive
88

@@ -19,13 +19,13 @@ RUN /build_llvm.sh
1919
### Create a release image ###
2020
##############################
2121

22-
FROM ubuntu:20.04
22+
FROM ubuntu:22.04
2323

2424
ENV DEBIAN_FRONTEND=noninteractive
2525

2626
RUN apt-get update && \
2727
apt-get install -y binutils-arm-linux-gnueabi binutils-aarch64-linux-gnu binutils-i686-linux-gnu && \
28-
apt-get install -y git curl pkg-config ca-certificates python python3 python3-pip rpm2cpio cpio && \
28+
apt-get install -y git curl pkg-config ca-certificates python3 python3-pip rpm2cpio cpio && \
2929
apt-get clean
3030

3131
# Copy build artifacts from the previous stage.

ci/tizen/build_llvm.sh

Lines changed: 2 additions & 2 deletions
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 aaaf8e4c409f080f35ea227b20dc6ac8a45c2fa4
21+
git fetch --depth=1 origin llvmorg-17.0.6
2222
git checkout FETCH_HEAD
2323
fi
2424

@@ -33,7 +33,7 @@ cmake -G Ninja \
3333
-DCMAKE_BUILD_TYPE=Release \
3434
-DCMAKE_INSTALL_PREFIX="$OUTPUT_DIR" \
3535
../llvm
36-
ninja install
36+
ninja install -j$(nproc)
3737

3838
# Create symbolic links to binutils.
3939
# See build/toolchain/custom/BUILD.gn for more information.

shell/common/rasterizer.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,7 @@ std::unique_ptr<Rasterizer::GpuImageResult> Rasterizer::MakeSkiaGpuImage(
361361
// https://github.com/flutter/flutter/issues/108835
362362
#if FML_OS_LINUX
363363
return MakeBitmapImage(display_list, image_info);
364-
#endif
365-
364+
#else
366365
std::unique_ptr<SnapshotDelegate::GpuImageResult> result;
367366
delegate_.GetIsGpuDisabledSyncSwitch()->Execute(
368367
fml::SyncSwitch::Handlers()
@@ -414,6 +413,7 @@ std::unique_ptr<Rasterizer::GpuImageResult> Rasterizer::MakeSkiaGpuImage(
414413
texture, sk_ref_sp(context), nullptr, "");
415414
}));
416415
return result;
416+
#endif
417417
}
418418

419419
sk_sp<DlImage> Rasterizer::MakeRasterSnapshot(sk_sp<DisplayList> display_list,

shell/common/rasterizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ class Rasterizer final : public SnapshotDelegate,
736736

737737
bool is_torn_down_ = false;
738738
Delegate& delegate_;
739-
MakeGpuImageBehavior gpu_image_behavior_;
739+
[[maybe_unused]] MakeGpuImageBehavior gpu_image_behavior_;
740740
std::weak_ptr<impeller::Context> impeller_context_;
741741
std::unique_ptr<Surface> surface_;
742742
std::unique_ptr<SnapshotSurfaceProducer> snapshot_surface_producer_;

0 commit comments

Comments
 (0)