Giter VIP home page Giter VIP logo

Comments (14)

waruqi avatar waruqi commented on September 20, 2024

try #5099

add_packages("xxx", {linkpath = true})

from xmake.

TOMO-CAT avatar TOMO-CAT commented on September 20, 2024

试了最新的 dev 分支还是 -l 的,是我要手动 cherry-pick 改动吗

from xmake.

waruqi avatar waruqi commented on September 20, 2024

patch 还没merge xmake update -s github:xmake-io/xmake#linkpath

from xmake.

Latias94 avatar Latias94 commented on September 20, 2024

vulkansdk 支持不

from xmake.

waruqi avatar waruqi commented on September 20, 2024

vulkansdk 支持不

系统库不支持,需要能找到完整库路径。目前只是 fetch only 包 https://github.com/xmake-io/xmake-repo/blob/dev/packages/v/vulkansdk/xmake.lua

除非你改进这个包 增加 on_install ,或者让 on_fetch 检测到库路径,返回 libfiles

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on September 20, 2024

Bot detected the issue body's language is not English, translate it automatically.


I tried the latest dev branch and it still has -l. Do I need to manually cherry-pick the changes?

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on September 20, 2024

Bot detected the issue body's language is not English, translate it automatically.


The patch has not been merged yet xmake update -s github:xmake-io/xmake#linkpath

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on September 20, 2024

Bot detected the issue body's language is not English, translate it automatically.


Does vulkansdk support

from xmake.

waruqi avatar waruqi commented on September 20, 2024

试了最新的 dev 分支还是 -l 的,是我要手动 cherry-pick 改动吗

merge 了,再试下 dev

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on September 20, 2024

Bot detected the issue body's language is not English, translate it automatically.


I tried the latest dev branch and it still has -l. Do I need to manually cherry-pick the changes?

Merged, try dev again

from xmake.

TOMO-CAT avatar TOMO-CAT commented on September 20, 2024

试了最新的 dev 分支还是 -l 的,是我要手动 cherry-pick 改动吗

merge 了,再试下 dev

可以了,不过我更期待是 policy 这种写法,感觉是一种使用三方库的风格。

至少应该是 add_requires("xxx") 的级别,不然的话代码里每次使用 add_packages 都要加一行这个。

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on September 20, 2024

Bot detected the issue body's language is not English, translate it automatically.


I tried the latest dev branch and it still has -l. Do I need to manually cherry-pick the changes?

Merged, try dev again

It's okay, but I'm more looking forward to writing it in the policy way, which feels like a style of using a dynamic library.

It should be at least the level of add_requires("xxx"), otherwise you will have to add a line of this every time you use add_packages in your code.

from xmake.

waruqi avatar waruqi commented on September 20, 2024

试了最新的 dev 分支还是 -l 的,是我要手动 cherry-pick 改动吗

merge 了,再试下 dev

可以了,不过我更期待是 policy 这种写法,感觉是一种使用三方库的风格。

至少应该是 add_requires("xxx") 的级别,不然的话代码里每次使用 add_packages 都要加一行这个。

放进 add_requires 里,每次切 linkpath 和 -l 都需要重新安装一遍,并且云端预编译的包也用不了。。走 add_packages ,你想切的时候,几秒就能切过去,默认还是走 -l ,只有需要 linkpath 的加一下就好了。。

而且也不是所有包都能找到完整库路径。。系统库,brew 等一些三方包管理 目前是不支持的

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on September 20, 2024

Bot detected the issue body's language is not English, translate it automatically.


I tried the latest dev branch and it still has -l. Do I need to manually cherry-pick the changes?

Merged, try dev again

It's okay, but I'm more looking forward to writing it in the policy way, which feels like a style of using a third-party library.

It should be at least the level of add_requires("xxx"), otherwise you will have to add a line of this every time you use add_packages in the code.

Put it in add_requires, you need to reinstall it every time you change linkpath and -l, and the pre-compiled packages in the cloud cannot be used. . Use add_packages. When you want to switch, you can switch to it in a few seconds. By default, use -l. Just add the linkpath if you need it. .

And not all packages can find the full library path. . System libraries, brew and other third-party package management are currently not supported.

from xmake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.