Skip to content

Commit 4eff894

Browse files
committed
[Tizen] Upgrade Clang to 17.0.6
1 parent 26bb2af commit 4eff894

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
@@ -319,8 +319,7 @@ std::unique_ptr<Rasterizer::GpuImageResult> Rasterizer::MakeSkiaGpuImage(
319319
// https://github.com/flutter/flutter/issues/108835
320320
#if FML_OS_LINUX
321321
return MakeBitmapImage(display_list, image_info);
322-
#endif
323-
322+
#else
324323
std::unique_ptr<SnapshotDelegate::GpuImageResult> result;
325324
delegate_.GetIsGpuDisabledSyncSwitch()->Execute(
326325
fml::SyncSwitch::Handlers()
@@ -372,6 +371,7 @@ std::unique_ptr<Rasterizer::GpuImageResult> Rasterizer::MakeSkiaGpuImage(
372371
texture, sk_ref_sp(context), nullptr, "");
373372
}));
374373
return result;
374+
#endif
375375
}
376376

377377
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
@@ -598,7 +598,7 @@ class Rasterizer final : public SnapshotDelegate,
598598
static bool ShouldResubmitFrame(const RasterStatus& raster_status);
599599

600600
Delegate& delegate_;
601-
MakeGpuImageBehavior gpu_image_behavior_;
601+
[[maybe_unused]] MakeGpuImageBehavior gpu_image_behavior_;
602602
std::weak_ptr<impeller::Context> impeller_context_;
603603
std::unique_ptr<Surface> surface_;
604604
std::unique_ptr<SnapshotSurfaceProducer> snapshot_surface_producer_;

0 commit comments

Comments
 (0)