ya.make 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. contrib/libs/libunwind
  14. library/cpp/sanitizer/include
  15. )
  16. ADDINCL(
  17. contrib/libs/cxxsupp/libcxxabi/include
  18. contrib/libs/cxxsupp/libcxx/include
  19. contrib/libs/cxxsupp/libcxx/src
  20. )
  21. NO_COMPILER_WARNINGS()
  22. NO_RUNTIME()
  23. NO_UTIL()
  24. CFLAGS(
  25. -D_LIBCPP_BUILDING_LIBRARY
  26. -D_LIBCXXABI_BUILDING_LIBRARY
  27. )
  28. SRCS(
  29. src/abort_message.cpp
  30. src/cxa_aux_runtime.cpp
  31. src/cxa_default_handlers.cpp
  32. src/cxa_demangle.cpp
  33. src/cxa_exception.cpp
  34. src/cxa_exception_storage.cpp
  35. src/cxa_guard.cpp
  36. src/cxa_handlers.cpp
  37. src/cxa_personality.cpp
  38. src/cxa_vector.cpp
  39. src/cxa_virtual.cpp
  40. src/fallback_malloc.cpp
  41. src/private_typeinfo.cpp
  42. src/stdlib_exception.cpp
  43. src/stdlib_new_delete.cpp
  44. src/stdlib_stdexcept.cpp
  45. src/stdlib_typeinfo.cpp
  46. )
  47. SRC_C_PIC(
  48. src/cxa_thread_atexit.cpp
  49. -fno-lto
  50. )
  51. IF (OS_EMSCRIPTEN)
  52. CFLAGS(
  53. -D_LIBCPP_SAFE_STATIC=
  54. -D_LIBCXXABI_DTOR_FUNC=
  55. -D__USING_WASM_EXCEPTIONS__
  56. )
  57. ENDIF()
  58. END()