fix i386 fiber asm
Some checks failed
linux-arm-gcc / linux-gcc-arm (Release) (push) Waiting to run
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Waiting to run
linux-arm-gcc / linux-gcc-armhf (Release) (push) Waiting to run
linux-arm-gcc / linux-gcc-arm (Debug) (push) Successful in 1m58s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Successful in 1m17s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Has been cancelled
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Successful in 1m22s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Successful in 1m33s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 1m20s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 1m29s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Successful in 3m2s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Successful in 1m40s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m11s
linux-x86-gcc / linux-gcc (Debug) (push) Successful in 2m59s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 1m56s
linux-x86-gcc / linux-gcc (Release) (push) Successful in 2m15s

This commit is contained in:
tqcq 2024-06-17 15:28:32 +08:00
parent 3fe1b1bf4c
commit d3d60da45a
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@ option(TILE_WITH_OPENSSL "Build with openssl" OFF)
option(TILE_BUILD_SHARED "Build shared library" ON)
option(TILE_BUILD_STATIC "Build static library" ON)
if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_PROJECT_DIR)
if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
set(TILE_BUILD_TESTS ON)
set(TILE_BUILD_BENCHMARKS ON)
endif()

View File

@ -10,7 +10,9 @@ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_C_FLAGS "-m32")
set(CMAKE_CXX_FLAGS "-m32")
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -m32")
# cache flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" CACHE STRING "c++ flags")
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS}" CACHE STRING "asm flags")