mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Complain about missing Yasm at configure time at of build time
This commit is contained in:
parent
99274f1db1
commit
f97880840a
@ -105,6 +105,9 @@ set(SRCS
|
||||
|
||||
if (ARCH_AMD64)
|
||||
find_program(YASM_PATH NAMES yasm)
|
||||
if (NOT YASM_PATH)
|
||||
message(FATAL_ERROR "Please install the Yasm assembler")
|
||||
endif ()
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/crc_iscsi_v_pcl.o
|
||||
COMMAND ${YASM_PATH} -f x64 -f elf64 -X gnu -g dwarf2 -D LINUX -o ${CMAKE_CURRENT_BINARY_DIR}/crc_iscsi_v_pcl.o ${HDFS3_SOURCE_DIR}/common/crc_iscsi_v_pcl.asm
|
||||
|
Loading…
Reference in New Issue
Block a user