mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Merge branch 'master' of github.com:yandex/ClickHouse
This commit is contained in:
commit
b6870e0910
@ -28,6 +28,8 @@ if (ARCH_AMD64)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
macro(perl_generate_asm FILE_IN FILE_OUT)
|
macro(perl_generate_asm FILE_IN FILE_OUT)
|
||||||
|
get_filename_component(DIRNAME ${FILE_OUT} DIRECTORY)
|
||||||
|
file(MAKE_DIRECTORY ${DIRNAME})
|
||||||
add_custom_command(OUTPUT ${FILE_OUT}
|
add_custom_command(OUTPUT ${FILE_OUT}
|
||||||
COMMAND /usr/bin/env perl ${FILE_IN} ${OPENSSL_SYSTEM} ${FILE_OUT}
|
COMMAND /usr/bin/env perl ${FILE_IN} ${OPENSSL_SYSTEM} ${FILE_OUT}
|
||||||
# ASM code has broken unwind tables (CFI), strip them.
|
# ASM code has broken unwind tables (CFI), strip them.
|
||||||
@ -70,6 +72,8 @@ if (ARCH_AMD64)
|
|||||||
elseif (ARCH_AARCH64)
|
elseif (ARCH_AARCH64)
|
||||||
|
|
||||||
macro(perl_generate_asm FILE_IN FILE_OUT)
|
macro(perl_generate_asm FILE_IN FILE_OUT)
|
||||||
|
get_filename_component(DIRNAME ${FILE_OUT} DIRECTORY)
|
||||||
|
file(MAKE_DIRECTORY ${DIRNAME})
|
||||||
add_custom_command(OUTPUT ${FILE_OUT}
|
add_custom_command(OUTPUT ${FILE_OUT}
|
||||||
COMMAND /usr/bin/env perl ${FILE_IN} "linux64" ${FILE_OUT})
|
COMMAND /usr/bin/env perl ${FILE_IN} "linux64" ${FILE_OUT})
|
||||||
# Hope that the ASM code for AArch64 doesn't have broken CFI. Otherwise, add the same sed as for x86_64.
|
# Hope that the ASM code for AArch64 doesn't have broken CFI. Otherwise, add the same sed as for x86_64.
|
||||||
|
Loading…
Reference in New Issue
Block a user