mirror of
https://github.com/typesense/typesense.git
synced 2025-05-18 04:32:38 +08:00
Test for build result for libfor and rocksdb builds.
This commit is contained in:
parent
aacff2fd23
commit
49a6d77b7e
@ -16,5 +16,9 @@ endif()
|
||||
|
||||
if(NOT EXISTS ${DEP_ROOT_DIR}/${FOR_NAME}/libfor.a)
|
||||
message("Building libfor locally...")
|
||||
execute_process(COMMAND make WORKING_DIRECTORY ${DEP_ROOT_DIR}/${FOR_NAME}/)
|
||||
execute_process(COMMAND make WORKING_DIRECTORY ${DEP_ROOT_DIR}/${FOR_NAME}/
|
||||
RESULT_VARIABLE FOR_BUILD)
|
||||
if(NOT FOR_BUILD EQUAL 0)
|
||||
message(FATAL_ERROR "${FOR_NAME} build failed!")
|
||||
endif()
|
||||
endif()
|
||||
|
@ -16,5 +16,9 @@ endif()
|
||||
|
||||
if(NOT EXISTS ${DEP_ROOT_DIR}/${ROCKSDB_NAME}/librocksdb.so)
|
||||
message("Building ${ROCKSDB_NAME} locally...")
|
||||
execute_process(COMMAND make "shared_lib" WORKING_DIRECTORY ${DEP_ROOT_DIR}/${ROCKSDB_NAME}/)
|
||||
execute_process(COMMAND make "shared_lib" WORKING_DIRECTORY ${DEP_ROOT_DIR}/${ROCKSDB_NAME}/
|
||||
RESULT_VARIABLE ROCKSDB_BUILD)
|
||||
if(NOT ROCKSDB_BUILD EQUAL 0)
|
||||
message(FATAL_ERROR "${ROCKSDB_NAME} build failed!")
|
||||
endif()
|
||||
endif()
|
Loading…
x
Reference in New Issue
Block a user