Support loongarch64
This commit is contained in:
committed by
LINxiansheng
parent
6ea9991d84
commit
79d5b68e0a
11
deps/oblib/src/lib/CMakeLists.txt
vendored
11
deps/oblib/src/lib/CMakeLists.txt
vendored
@ -26,11 +26,18 @@ ob_lib_add_target(oblib_lib_coro_context
|
||||
coro/context/asm/make_sw_64_sysv_elf_gas.S
|
||||
coro/context/asm/jump_sw_64_sysv_elf_gas.S
|
||||
coro/context/asm/ontop_sw_64_aapcs_elf_gas.S
|
||||
|
||||
)
|
||||
disable_pch(oblib_lib_coro_context)
|
||||
|
||||
if(${ARCHITECTURE} STREQUAL "loongarch64")
|
||||
ob_lib_add_target(oblib_lib_coro_context_loongarch64
|
||||
coro/context/asm/jump_loongarch64_sysv_elf_gas.S
|
||||
coro/context/asm/make_loongarch64_sysv_elf_gas.S
|
||||
coro/context/asm/ontop_loongarch64_sysv_elf_gas.S
|
||||
)
|
||||
disable_pch(oblib_lib_coro_context)
|
||||
)
|
||||
disable_pch(oblib_lib_coro_context_loongarch64)
|
||||
endif()
|
||||
|
||||
ob_set_subtarget(oblib_lib coro
|
||||
coro/co_base_sched.cpp
|
||||
|
||||
Reference in New Issue
Block a user