ya.make 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. RESOURCES_LIBRARY()
  2. NO_PLATFORM_RESOURCES()
  3. SET(NEED_PLATFORM_PEERDIRS no)
  4. IF (OS_SDK == "local")
  5. # Implementation is in $S/build/ymake.core.conf
  6. ELSEIF (ARCH_X86_64)
  7. IF (OS_SDK == "ubuntu-10")
  8. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:244388930)
  9. ELSEIF (OS_SDK == "ubuntu-12")
  10. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:244387436)
  11. ELSEIF (OS_SDK == "ubuntu-14")
  12. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1966560555)
  13. ELSEIF (OS_SDK == "ubuntu-16")
  14. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:243881345)
  15. ELSEIF (OS_SDK == "ubuntu-18")
  16. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:617908641)
  17. ELSEIF (OS_SDK == "ubuntu-20")
  18. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:2635714620)
  19. ELSEIF (OS_SDK == "ubuntu-22")
  20. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:6495397322)
  21. ELSE()
  22. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for x86-64")
  23. ENDIF()
  24. ELSEIF (ARCH_AARCH64)
  25. IF (OS_SDK == "ubuntu-16")
  26. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:309054781)
  27. ELSE()
  28. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for AArch64/ARMv8 64 bit")
  29. ENDIF()
  30. ELSEIF (ARCH_PPC64LE)
  31. IF (OS_SDK == "ubuntu-14")
  32. IF (HOST_ARCH_PPC64LE)
  33. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1570528338)
  34. ELSE()
  35. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:233217651)
  36. ENDIF()
  37. ELSE()
  38. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for PPC64LE")
  39. ENDIF()
  40. ELSEIF (ARCH_ARM7)
  41. IF (ARM7_FLOAT_ABI == "hard" AND OS_SDK == "ubuntu-16")
  42. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1323200692)
  43. ELSEIF (ARM7_FLOAT_ABI == "softfp" AND OS_SDK == "ubuntu-18")
  44. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:2402287545)
  45. ELSE()
  46. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for ARMv7 32 bit (float ABI: ${ARM7_FLOAT_ABI})")
  47. ENDIF()
  48. ELSE()
  49. MESSAGE(FATAL_ERROR "Unexpected OS_SDK value: ${OS_SDK}")
  50. ENDIF()
  51. END()