Xdestiny

Results 3 comments of Xdestiny

@star-hengxing 尝试调试了一下,发现是https://github.com/xmake-io/xmake-repo/blob/fe4776272cd545199e4fa82d679dd75ab708e0d4/packages/o/optix/xmake.lua#L17 这里会优先找到7.3.0的版本 想问下add_requires里面的version是否会传入包描述里面?或者这里应该如何处理比较合理?

> ```lua > local version = package:version() > if version:gt("7.3.0") then > -- balabala > else > local inc = find_path("optix.h", paths, {suffixes = "include"}) > end > ``` 如果外面传入的version使用了>=的语义符号进行版本范围限制,在这里又应该怎么获取呢?

发起了一个MR,麻烦 @star-hengxing review一下