Skip to content

Commit

Permalink
Build using the older gcc 6.2 and new llvm 10 compiler (#1806)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Sep 12, 2021
1 parent f8dbe84 commit 5d1f324
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion native/tizen/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Task("libSkiaSharp")
$"skia_use_system_libpng=false " +
$"skia_use_system_libwebp=false " +
$"skia_use_system_zlib=true " +
$"extra_cflags=[ '-DSKIA_C_DLL', '-DXML_DEV_URANDOM' ] " +
$"extra_cflags=[ '-DSKIA_C_DLL', '-DXML_DEV_URANDOM', '-DSK_NO_MAKE_SHARED_PTR' ] " +
$"ncli='{TIZEN_STUDIO_HOME}' " +
$"ncli_version='4.0'");
Expand Down
1 change: 1 addition & 0 deletions native/tizen/libSkiaSharp/project_def.prop
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ USER_DEFS = NDEBUG \
SK_ENCODE_WEBP \
SK_GAMMA_APPLY_TO_A8 \
SK_GL \
SK_NO_MAKE_SHARED_PTR \
SK_R32_SHIFT=16 \
SK_SUPPORT_PDF \
SK_USE_LIBGIFCODEC \
Expand Down
8 changes: 4 additions & 4 deletions scripts/install-tizen.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ function Swap-Tool {
if ($UpgradeLLVM) {
Write-Host "Upgrading LLVM and GCC in place..."
Swap-Tool "llvm-4.0.0" "llvm-10"
Swap-Tool "aarch64-linux-gnu-gcc-6.2" "aarch64-linux-gnu-gcc-9.2"
Swap-Tool "arm-linux-gnueabi-gcc-6.2" "arm-linux-gnueabi-gcc-9.2"
Swap-Tool "i586-linux-gnueabi-gcc-6.2" "i586-linux-gnueabi-gcc-9.2"
Swap-Tool "x86_64-linux-gnu-gcc-6.2" "x86_64-linux-gnu-gcc-9.2"
# Swap-Tool "aarch64-linux-gnu-gcc-6.2" "aarch64-linux-gnu-gcc-9.2"
# Swap-Tool "arm-linux-gnueabi-gcc-6.2" "arm-linux-gnueabi-gcc-9.2"
# Swap-Tool "i586-linux-gnueabi-gcc-6.2" "i586-linux-gnueabi-gcc-9.2"
# Swap-Tool "x86_64-linux-gnu-gcc-6.2" "x86_64-linux-gnu-gcc-9.2"
}

# make sure that Tizen Studio is in TIZEN_STUDIO_HOME
Expand Down

0 comments on commit 5d1f324

Please sign in to comment.