brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · d5861e7 Raw
53 lines · plain
1add_header_library(2  bitmask3  HDRS4    bitmask.h5  FLAGS6    EXPLICIT_SIMD_OPT7  DEPENDS8    libc.hdr.stdint_proxy9    libc.src.__support.common10    libc.src.__support.CPP.bit11    libc.src.__support.macros.properties.cpu_features12)13 14list(FIND TARGET_ENTRYPOINT_NAME_LIST getrandom getrandom_index)15if (NOT ${getrandom_index} EQUAL -1)16  message(STATUS "Using getrandom for hashtable randomness")17  set(randomness_compile_flags -DLIBC_HASHTABLE_USE_GETRANDOM)18  set(randomness_extra_depends19    libc.src.__support.OSUtil.linux.getrandom20    libc.hdr.errno_macros)21endif()22 23 24add_header_library(25  table26  HDRS27    table.h28  DEPENDS29    .bitmask30    libc.hdr.stdint_proxy31    libc.hdr.types.ENTRY32    libc.src.__support.CPP.bit33    libc.src.__support.CPP.new34    libc.src.__support.hash35    libc.src.__support.macros.attributes36    libc.src.__support.macros.optimization37    libc.src.__support.memory_size38    libc.src.string.memory_utils.inline_strcmp39    libc.src.string.string_utils40)41 42add_header_library(43  randomness44  HDRS45    randomness.h46  COMPILE_OPTIONS47    ${randomness_compile_flags}48  DEPENDS49    libc.src.__support.hash50    libc.src.__support.common51    ${randomness_extra_depends}52)53