cmake configuration failure
When I try to build the latest release I get the following error:
CMake Error at CMakeLists.txt:144 (math):
math cannot parse the expression: "/1024": syntax error, unexpected
exp_DIVIDE (1).
CMake Warning (dev) in CMakeLists.txt:
A logical block opening on the line
/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/blaze/src/22bbf6b42e-ac799d2b48.clean/CMakeLists.txt:150 (if)
closes on the line
/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/blaze/src/22bbf6b42e-ac799d2b48.clean/CMakeLists.txt:153 (endif)
with mis-matching arguments.
This warning is for project developers. Use -Wno-dev to suppress it.
Cache size not found automatically. Using default value as cache size.
Comments (10)
-
reporter -
reporter On my M1 mac there is the following:
hw.cacheconfig: 10 1 2 0 0 0 0 0 0 0 hw.cachesize: 3443720192 65536 4194304 0 0 0 0 0 0 0 hw.pagesize: 16384 hw.pagesize32: 16384 hw.cachelinesize: 128 hw.l1icachesize: 131072 hw.l1dcachesize: 65536 hw.l2cachesize: 4194304
-
Hi Leander!
Thanks a lot for pointing out this defect. I apologize for the late reply, but we will investigate and try to resolve it as soon as possible.
Best regards,
Klaus!
-
reporter Hi, you can use the fix/workaround from https://github.com/microsoft/vcpkg/pull/24235/files#diff-507406e9ba294bb640e0db3b4ed47606d31e2ac697595517048af2040dddfbc6.
If you think this is a valid solution you can also approve the pull request :)
Best regards,
Leander
-
Hi Leander!
The fix would work. It makes more sense, though, to provide the fix to the Blaze repo directly, instead of the version available at vcpkg. If you have the time to provide a pull request here, I would approve it and merge it to the repo. Your help would be much appreciated.
Best regards,
Klaus!
-
reporter Hi, I think I don’t have permission to create a PR.
-
Hi Leander!
There isn’t any restriction to create a pull request. Anybody is able create one. Unfortunately, in this setting it is hard for me to help to create the pull request. Therefore please try again, as we would appreciate the help. Thanks,
Best regards,
Klaus!
-
reporter Hi, it seems that the bug is fixed in the latest release.
Thank you -
reporter - changed status to resolved
-
Issue
#447was marked as a duplicate of this issue. - Log in to comment
It seems that the problem is that
sysctl -n hw.l3cachesize
returns nothing.