ya.make 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Generated by devtools/yamaker from nixpkgs 23.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(16.0.6)
  11. ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-16.0.6.tar.gz)
  12. PEERDIR(
  13. library/cpp/sanitizer/include
  14. )
  15. ADDINCL(
  16. contrib/libs/cxxsupp/libcxxabi/include
  17. contrib/libs/cxxsupp/libcxx/include
  18. contrib/libs/cxxsupp/libcxx/src
  19. )
  20. NO_COMPILER_WARNINGS()
  21. NO_RUNTIME()
  22. NO_UTIL()
  23. CFLAGS(
  24. -D_LIBCXXABI_BUILDING_LIBRARY
  25. )
  26. SRCS(
  27. src/abort_message.cpp
  28. src/cxa_aux_runtime.cpp
  29. src/cxa_default_handlers.cpp
  30. src/cxa_demangle.cpp
  31. src/cxa_exception.cpp
  32. src/cxa_exception_storage.cpp
  33. src/cxa_guard.cpp
  34. src/cxa_handlers.cpp
  35. src/cxa_personality.cpp
  36. src/cxa_vector.cpp
  37. src/cxa_virtual.cpp
  38. src/fallback_malloc.cpp
  39. src/private_typeinfo.cpp
  40. src/stdlib_exception.cpp
  41. src/stdlib_new_delete.cpp
  42. src/stdlib_stdexcept.cpp
  43. src/stdlib_typeinfo.cpp
  44. )
  45. SRC_C_PIC(
  46. src/cxa_thread_atexit.cpp
  47. -fno-lto
  48. )
  49. IF (OS_EMSCRIPTEN)
  50. CFLAGS(
  51. -D_LIBCPP_SAFE_STATIC=
  52. -D_LIBCXXABI_DTOR_FUNC=
  53. -D__USING_WASM_EXCEPTIONS__
  54. )
  55. ENDIF()
  56. END()