-
Notifications
You must be signed in to change notification settings - Fork 88
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
Unable to build on Windows #1675
Comments
Just making sure, can you reproduce this when using MSBuild (default) or Ninja (-GNinja) as the CMake generator? We don't yet test compilation with clang-cl on Windows, so this might just be an issue that slipped through the cracks |
I can build with Ninja and visual studio 2022. However, hoping to use clang-cl to have a consistent build chain. |
Also fails with LLVM19:
|
@upsj , any ideas? |
I can reproduce the issue with clang-cl, I'll take a closer look. |
Seems like a more complex issue, but I get the feeling this would be solved with Ginkgo 2.0 and another attempt at #715 |
How do I get 2.0? |
Sorry for the misleading wording - Ginkgo 2.0 is a future release where we need to make a few interface breaks to fix architectural issues that we can't address with a minor release. |
Working with
Which results the link error (I think same)
Do I have the correct branch? |
Changed to clang_cl branch and it builds! |
Thanks for confirmation! |
I am trying to build windows static. I configure with
'/winsame/cary/dev3/contrib-llvm17_vs2022/cmake-3.26.4-ser/bin/cmake.exe'
-DCMAKE_INSTALL_PREFIX:PATH=D:/winsame/cary/dev3/contrib-llvm17_vs2022/ginkgo-1.8.0-ser
-DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_COLOR_MAKEFILE:BOOL=FALSE
-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE
-DCMAKE_C_COMPILER:FILEPATH='C:/Program Files/LLVM17/bin/clang-cl.exe'
-DCMAKE_CXX_COMPILER:FILEPATH='C:/Program Files/LLVM17/bin/clang-cl.exe'
-DCMAKE_C_FLAGS:STRING='/W3 -Wno-implicit-function-declaration'
-DCMAKE_CXX_FLAGS:STRING='/W3 /GR /EHsc /Zc:__cplusplus /D_HAS_AUTO_PTR_ETC /bigobj -fms-compatibility-version=19 -Wno-register -Wno-implicit-function-declaration -Wno-microsoft-include'
-DBUILD_SHARED_LIBS=OFF
-DCMAKE_CUDA_COMPILER:FILEPATH='C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/bin/nvcc.exe'
-DCMAKE_CUDA_ARCHITECTURES:STRING='61;70;80'
-DGINKGO_BUILD_HIP:BOOL=OFF
-DGINKGO_BUILD_OMP:BOOL=OFF
-DGINKGO_BUILD_MPI:BOOL=OFF
-G 'NMake Makefiles JOM' D:/winsame/cary/xsd3/builds/ginkgo-1.8.0
But when I build (with jom), it dies at
The text was updated successfully, but these errors were encountered: