xmake icon indicating copy to clipboard operation
xmake copied to clipboard

Enable xmake-require.lock by default

Open star-hengxing opened this issue 10 months ago • 2 comments

Is your feature request related to a problem? Please describe.

N/A

Describe the solution you'd like

N/A

Describe alternatives you've considered

No response

Additional context

No response

star-hengxing avatar Apr 30 '25 01:04 star-hengxing

这会导致所有的包默认都安装到当前工程目录,全局目录基本就没啥用了,也没法再多个项目中复用包。

并且会频繁多次去 checkout xmake-repo 特定 commit ,如果网络慢的,体验会差很多,所以我暂时一直没开。而且在 linux 上还有不少问题,并不能完全锁定,毕竟c++这个不像其他语言,依赖库很多都跟系统上的库耦合性太高。 即使当前发行版锁住了,丢到另外的 linux 发行版上去,还是会有问题。。除非是完全隔离不用任何系统库,那这个安装就更慢了,而且更容易出问题。

waruqi avatar Apr 30 '25 01:04 waruqi

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


This will cause all packages to be installed in the current project directory by default. The global directory is basically useless and there is no way to reuse packages in multiple projects.

And I will frequently go to checkout xmake-repo for specific commits many times. If the network is slow, the experience will be much worse, so I haven't opened it for the time being. Moreover, there are still many problems on Linux and cannot be completely locked. After all, C++ is not like other languages. Many dependency libraries are too coupled with libraries on the system. Even if the current distribution is locked and thrown onto another Linux distribution, there will still be problems. . Unless it is completely isolated and does not use any system libraries, the installation will be even slower, if enabled by default.

Issues-translate-bot avatar Apr 30 '25 03:04 Issues-translate-bot

linux 根本没法完全锁住,暂时还是按需自己配。

waruqi avatar Dec 03 '25 02:12 waruqi

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


Linux cannot be completely locked, so for the time being, you can configure it yourself as needed.

Issues-translate-bot avatar Dec 03 '25 03:12 Issues-translate-bot