diff --git a/packages/u/usd/xmake.lua b/packages/u/usd/xmake.lua index 9b152e10cb6..271169e7902 100644 --- a/packages/u/usd/xmake.lua +++ b/packages/u/usd/xmake.lua @@ -6,6 +6,7 @@ package("usd") add_urls("https://github.com/PixarAnimationStudios/USD/archive/refs/tags/$(version).tar.gz", "https://github.com/PixarAnimationStudios/USD.git") + add_versions("v25.11", "c37c633b5037a4552f61574670ecca8836229b78326bd62622f3422671188667") add_versions("v25.08", "2a93c2390ae35a3e312f3fb66e6f403a0e046893e3f0d706be82963345a08cb3") add_versions("v25.05.01", "f424e8db26e063a1b005423ee52142e75c38185bbd4b8126ef64173e906dd50f") add_versions("v25.05", "231faca9ab71fa63d6c1e0da18bda0c365f82d9bef1cfd4b3d3d6784c8d5fb96") @@ -39,10 +40,10 @@ package("usd") if not package:is_plat("macosx") then assert(package:is_arch("x64", "x86_64"), "package(usd) only support x86") end - if package:version() and package:version():eq("25.08") and + if package:version() and package:version():ge("25.08") and package:is_plat("linux") and package:has_tool("cxx", "clang") then - raise("package(usd v25.08) unsupported clang toolchain") + raise("package(usd >=v25.08) unsupported clang toolchain") end end) end