Skip to content
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

Merged
merged 8 commits into from
Feb 11, 2025

Conversation

divital-coder
Copy link
Contributor

No description provided.

I/ITK/build_tarballs.jl Outdated Show resolved Hide resolved
Comment on lines 14 to 37
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
Copy link
Member

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.

@divital-coder
Copy link
Contributor Author

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
Cmake build commands with flags for the windows and non-windows platforms?

@giordano
Copy link
Member

I have some flags that need to run additionally on non-windows platforms

Sure, but add those flags conditionally only on Windows.

@divital-coder
Copy link
Contributor Author

done :)

@giordano giordano merged commit be69a2a into JuliaPackaging:master Feb 11, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants