diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:17 +0300 |
commit | d3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch) | |
tree | dd4bd3ca0f36b817e96812825ffaf10d645803f2 /contrib/libs/crcutil/ya.make | |
parent | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff) | |
download | ydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/crcutil/ya.make')
-rw-r--r-- | contrib/libs/crcutil/ya.make | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/contrib/libs/crcutil/ya.make b/contrib/libs/crcutil/ya.make index 1d6fbdfeec..2da8ef940f 100644 --- a/contrib/libs/crcutil/ya.make +++ b/contrib/libs/crcutil/ya.make @@ -1,6 +1,6 @@ LIBRARY() -LICENSE(Apache-2.0) +LICENSE(Apache-2.0) VERSION(1.0) @@ -10,18 +10,18 @@ OWNER( g:contrib g:cpp-contrib ) - + NO_UTIL() NO_COMPILER_WARNINGS() NO_JOIN_SRC() -IF (GCC AND USE_LTO) - CFLAGS(-DCRCUTIL_FORCE_ASM_CRC32C=1) +IF (GCC AND USE_LTO) + CFLAGS(-DCRCUTIL_FORCE_ASM_CRC32C=1) ENDIF() - -IF (ARCH_I386 OR ARCH_X86_64) + +IF (ARCH_I386 OR ARCH_X86_64) IF (OS_WINDOWS) SRCS( multiword_64_64_cl_i386_mmx.cc @@ -29,7 +29,7 @@ IF (ARCH_I386 OR ARCH_X86_64) ELSEIF (OS_ANDROID AND ARCH_I386) # 32-bit Android has some problems with register allocation, so we fall back to default implementation ELSE() - IF (CLANG) + IF (CLANG) CFLAGS(-DCRCUTIL_USE_MM_CRC32=1) IF (ARCH_I386) # clang doesn't support this as optimization attribute and has problems with register allocation @@ -42,17 +42,17 @@ IF (ARCH_I386 OR ARCH_X86_64) multiword_64_64_gcc_i386_mmx.cc ) ENDIF() - ELSE() - CFLAGS( + ELSE() + CFLAGS( -mcrc32 -DCRCUTIL_USE_MM_CRC32=1 - ) - ENDIF() - SRCS( - multiword_128_64_gcc_amd64_sse2.cc - multiword_64_64_gcc_amd64_asm.cc + ) + ENDIF() + SRCS( + multiword_128_64_gcc_amd64_sse2.cc + multiword_64_64_gcc_amd64_asm.cc ) - ENDIF() + ENDIF() IF (OS_WINDOWS) SRCS( crc32c_sse4.cc |