ya.make 727 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. LIBRARY()
  2. WITHOUT_LICENSE_TEXTS()
  3. LICENSE(
  4. Apache-2.0
  5. WITH
  6. LLVM-exception
  7. )
  8. VERSION(16.0.6)
  9. ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-16.0.6.tar.gz)
  10. ADDINCL(
  11. contrib/libs/cxxsupp/libcxxabi/include
  12. contrib/libs/cxxsupp/libcxx/include
  13. contrib/libs/cxxsupp/libcxx
  14. )
  15. NO_COMPILER_WARNINGS()
  16. NO_RUNTIME()
  17. NO_UTIL()
  18. CFLAGS(-D_LIBCXXABI_BUILDING_LIBRARY)
  19. IF (EXPORT_CMAKE)
  20. # TODO(YMAKE-91) keep flags required for libc++ vendoring in a separate core.conf variable
  21. CXXFLAGS(GLOBAL -nostdinc++)
  22. ENDIF()
  23. SRCDIR(contrib/libs/cxxsupp/libcxxabi)
  24. SRCS(
  25. src/abort_message.cpp
  26. src/cxa_demangle.cpp
  27. )
  28. SRC_C_PIC(
  29. src/cxa_thread_atexit.cpp
  30. -fno-lto
  31. )
  32. END()