-
Notifications
You must be signed in to change notification settings - Fork 572
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
[ITK-v5.3.1] Fixing Windows minc error #10500
Conversation
I/ITK/build_tarballs.jl
Outdated
cd $WORKSPACE/srcdir/ITK* | ||
mkdir build/ | ||
cmake -B build -S . \ | ||
-DCMAKE_INSTALL_PREFIX=${prefix} \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} \ | ||
-DBUILD_SHARED_LIBS:BOOL=ON \ | ||
-DITK_USE_SYSTEM_EXPAT:BOOL=ON \ | ||
-DITK_USE_SYSTEM_FFTW:BOOL=ON \ | ||
-DITK_USE_SYSTEM_HDF5:BOOL=ON \ | ||
-DITK_USE_SYSTEM_JPEG:BOOL=ON \ | ||
-DITK_USE_SYSTEM_TIFF:BOOL=ON \ | ||
-DITK_USE_SYSTEM_PNG:BOOL=ON \ | ||
-DITK_USE_SYSTEM_EIGEN:BOOL=ON \ | ||
-DITK_USE_SYSTEM_ZLIB:BOOL=ON \ | ||
-DQNANHIBIT_VALUE:BOOL=0 \ | ||
-DQNANHIBIT_VALUE__TRYRUN_OUTPUT:STRING=0 \ | ||
-DVXL_HAS_SSE2_HARDWARE_SUPPORT:STRING=1 \ | ||
-DVCL_HAS_LFS:STRING=1 \ | ||
-DDOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS:STRING=1 \ | ||
-DHAVE_CLOCK_GETTIME_RUN:STRING=0 | ||
cmake --build build --parallel ${nproc} | ||
cmake --install build | ||
install_license ${WORKSPACE}/srcdir/ITK/LICENSE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid duplication, you're running pretty much the same commands in the other branch too.
Co-authored-by: Mosè Giordano <[email protected]>
Hello, I tried simplifying the script but it appears I have some flags that need to run additionally on non-windows platforms, and the simplification resulted in other platforms breaking, is it possible i can have 2 different |
Sure, but add those flags conditionally only on Windows. |
done :) |
No description provided.