Open star-hengxing opened 1 week ago
没懂 什么问题。我这可以么
in xmake-repo:
-> fast_io 2024.3.31
-> eigen 3.4.0 [runtimes:"MD"]
Bot detected the issue body's language is not English, translate it automatically.
I don't understand what the problem is. Is this okay with me?
in xmake-repo:
-> fast_io 2024.3.31
->eigen 3.4.0 [runtimes:"MD"]
$ 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,一个在 on_load
。
大概知道原因,但是比较难搞。 is_headeronly 在 on_load 之前就被调用了,用于参与计算 buildhash,在 on_load 去动态改 headeronly kind,滞后了。
Bot detected the issue body's language is not English, translate it automatically.
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