fix: remove static-libgcc
Some checks failed
android / build (push) Failing after 21s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 7m2s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 17m11s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 1m18s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 1m20s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 13m18s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 3m11s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 13m37s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 13m36s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 15m22s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 19m48s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 18m32s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 19m32s
linux-x64-clang / linux-clang (Debug) (push) Failing after 1m3s
linux-x64-clang / linux-clang (Release) (push) Failing after 1m18s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 1m24s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 1m16s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 13m50s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 3h14m54s
Some checks failed
android / build (push) Failing after 21s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 7m2s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 17m11s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 1m18s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 1m20s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 13m18s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 3m11s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 13m37s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 13m36s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 15m22s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 19m48s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 18m32s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 19m32s
linux-x64-clang / linux-clang (Debug) (push) Failing after 1m3s
linux-x64-clang / linux-clang (Release) (push) Failing after 1m18s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 1m24s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 1m16s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 13m50s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 3h14m54s
This commit is contained in:
parent
68c3f526fd
commit
90bb082ef9
@ -20,17 +20,17 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
# add static libgcc and libstdc++ for static linking
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc -static-libstdc++")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
|
||||
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc -static-libstdc++")
|
||||
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
|
||||
|
||||
option(TILE_BUILD_TESTS "Build tests" OFF)
|
||||
option(TILE_BUILD_BENCHMARKS "Build tests" OFF)
|
||||
option(TILE_BUILD_TESTS "Build tests" ON)
|
||||
option(TILE_BUILD_BENCHMARKS "Build tests" ON)
|
||||
option(TILE_WITH_OPENSSL "Build with openssl" OFF)
|
||||
option(TILE_BUILD_SHARED "Build shared library" ON)
|
||||
|
||||
if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
|
||||
set(TILE_BUILD_TESTS ON)
|
||||
set(TILE_BUILD_BENCHMARKS ON)
|
||||
if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
|
||||
set(TILE_BUILD_TESTS OFF)
|
||||
set(TILE_BUILD_BENCHMARKS OFF)
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
|
Loading…
Reference in New Issue
Block a user