ya.make 981 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Generated by devtools/yamaker from nixpkgs 22.05.
  2. LIBRARY()
  3. LICENSE(
  4. Apache-2.0 AND
  5. Apache-2.0 WITH LLVM-exception AND
  6. MIT AND
  7. NCSA
  8. )
  9. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  10. VERSION(14.0.6)
  11. ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-14.0.6.tar.gz)
  12. DISABLE(USE_LTO)
  13. PEERDIR(
  14. library/cpp/sanitizer/include
  15. )
  16. ADDINCL(
  17. contrib/libs/libunwind/include
  18. )
  19. NO_RUNTIME()
  20. NO_UTIL()
  21. NO_SANITIZE()
  22. NO_SANITIZE_COVERAGE()
  23. CFLAGS(
  24. GLOBAL -D_libunwind_
  25. -D_LIBUNWIND_IS_NATIVE_ONLY
  26. -fno-exceptions
  27. -fno-rtti
  28. -funwind-tables
  29. )
  30. IF (SANITIZER_TYPE == memory)
  31. CFLAGS(
  32. -fPIC
  33. )
  34. ENDIF()
  35. SRCS(
  36. src/Unwind-EHABI.cpp
  37. src/Unwind-seh.cpp
  38. src/Unwind-sjlj.c
  39. src/UnwindLevel1-gcc-ext.c
  40. src/UnwindLevel1.c
  41. src/UnwindRegistersRestore.S
  42. src/UnwindRegistersSave.S
  43. src/libunwind.cpp
  44. )
  45. IF (OS_DARWIN OR OS_IOS)
  46. SRCS(
  47. src/Unwind_AppleExtras.cpp
  48. )
  49. ENDIF()
  50. END()