-
-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate header-only packages are installed #5807
Comments
没懂 什么问题。我这可以么
|
I don't understand what the problem is. Is this okay with me?
|
$ xmake f -c
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.41.34120
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> fast_io 2024.3.31
-> eigen 3.4.0 [runtimes:"MT"]
please input: y (y/n/m)
y
=> download https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2 .. failed
=> clone https://gitee.com/qabeowjbtkwb/fast_io.git 2024.3.31 .. ok
=> install fast_io 2024.3.31 .. ok
=> install eigen 3.4.0 .. ok
$ xmake f -c
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.41.34120
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> eigen 3.4.0 [runtimes:"MT", asan:y]
please input: y (y/n/m) eigen 理论上不需要重新安装的。两个包区别就是一个在描述域设置的 headeronly kind,一个在 |
大概知道原因,但是比较难搞。 is_headeronly 在 on_load 之前就被调用了,用于参与计算 buildhash,在 on_load 去动态改 headeronly kind,滞后了。 |
I probably know the reason, but it's more difficult to do. is_headeronly is called before on_load to participate in the calculation of buildhash. It is dynamically changed after on_load, which lags behind. |
Xmake Version
dev
Operating System Version and Architecture
all
Describe Bug
fast_io headeronly kind set in package description.
eigen headeronly kind set in
on_load
.Expected Behavior
Work.
Project Configuration
N/A
Additional Information and Error Logs
N/A
The text was updated successfully, but these errors were encountered: