Skip to content

Conversation

@dg0yt
Copy link
Contributor

@dg0yt dg0yt commented Aug 9, 2025

Enable crosscompiling.
Fix feature python.
Devendor gl2ps.
Tighten wiring between features/dependencies and capabilities.
Resolve some feature configuration issues.
Fix wiring of MPI with regard to hdf5 installations with MPI.
Some cleanup.

@dg0yt dg0yt force-pushed the vtk-wip branch 2 times, most recently from b72273e to e7a760a Compare August 13, 2025 06:42
@dg0yt dg0yt force-pushed the vtk-wip branch 2 times, most recently from 4fff42f to 39b9c78 Compare August 25, 2025 04:55
@dg0yt dg0yt changed the title [vtk] WIP [vtk] Fix features and cross builds Aug 25, 2025
@dg0yt dg0yt marked this pull request as ready for review August 26, 2025 06:36
@BillyONeal
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes! Fingers crossed this also helps with the funny behavior we're seeing on modern macOS :/

@BillyONeal BillyONeal merged commit eb2266e into microsoft:master Sep 3, 2025
18 checks passed
@dg0yt dg0yt deleted the vtk-wip branch September 3, 2025 20:19
@BillyONeal
Copy link
Member

Unfortunately this breaks now that we fixed conflict detection:

Installing 2155/2243 vtk-compile-tools:[email protected]...
Building vtk-compile-tools:[email protected]...
-- Using cached Kitware-VTK-09a76bc55b37caad94d0d8ebe865caaed1b438af.tar.gz
-- Extracting source D:/downloads/Kitware-VTK-09a76bc55b37caad94d0d8ebe865caaed1b438af.tar.gz
-- Using source at D:/b/vtk-compile-tools/src/aed1b438af-c216954790.clean
-- Found external ninja('1.12.1').
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: D:/p/vtk-compile-tools_x64-windows/share/vtk-compile-tools/copyright
-- Performing post-build validation
error: The following files are already installed in D:/installed/x64-windows and are in conflict with vtk-compile-tools:x64-windows
Installed by vtk:x64-windows:
  bin/vtkWrappingTools-9.3.dll
  bin/vtkWrappingTools-9.3.pdb
  lib/vtkWrappingTools-9.3.lib
Starting submission of vtk-compile-tools:[email protected] to 1 binary cache(s) in the background
Elapsed time to handle vtk-compile-tools:x64-windows: 21 s
vtk-compile-tools:x64-windows package ABI: 414bb0b5267a2a9a15788c642e98f19e06ba5f657d1b0efae3aa70bdb2d55cc9

I'm going to fix for now by adding a ci.baseline.txt that skips vtk-compile-tools on the native platforms in #47198 but we really need a concrete fix for this.

@BillyONeal
Copy link
Member

BillyONeal commented Sep 5, 2025

Actually I can't do that because it breaks the cross platforms too :(. I think I'm forced to revert this :(

BillyONeal added a commit to BillyONeal/vcpkg that referenced this pull request Sep 5, 2025
This reverts commit eb2266e / microsoft#46843

Resolves:

Installing 2155/2243 vtk-compile-tools:[email protected]...
Building vtk-compile-tools:[email protected]...
-- Using cached Kitware-VTK-09a76bc55b37caad94d0d8ebe865caaed1b438af.tar.gz
-- Extracting source D:/downloads/Kitware-VTK-09a76bc55b37caad94d0d8ebe865caaed1b438af.tar.gz
-- Using source at D:/b/vtk-compile-tools/src/aed1b438af-c216954790.clean
-- Found external ninja('1.12.1').
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: D:/p/vtk-compile-tools_x64-windows/share/vtk-compile-tools/copyright
-- Performing post-build validation
error: The following files are already installed in D:/installed/x64-windows and are in conflict with vtk-compile-tools:x64-windows
Installed by vtk:x64-windows:
  bin/vtkWrappingTools-9.3.dll
  bin/vtkWrappingTools-9.3.pdb
  lib/vtkWrappingTools-9.3.lib
Starting submission of vtk-compile-tools:[email protected] to 1 binary cache(s) in the background
Elapsed time to handle vtk-compile-tools:x64-windows: 21 s
vtk-compile-tools:x64-windows package ABI: 414bb0b5267a2a9a15788c642e98f19e06ba5f657d1b0efae3aa70bdb2d55cc9
BillyONeal added a commit to BillyONeal/vcpkg that referenced this pull request Sep 5, 2025
This reverts commit eb2266e / microsoft#46843

Resolves:

Installing 2155/2243 vtk-compile-tools:[email protected]...
Building vtk-compile-tools:[email protected]...
-- Using cached Kitware-VTK-09a76bc55b37caad94d0d8ebe865caaed1b438af.tar.gz
-- Extracting source D:/downloads/Kitware-VTK-09a76bc55b37caad94d0d8ebe865caaed1b438af.tar.gz
-- Using source at D:/b/vtk-compile-tools/src/aed1b438af-c216954790.clean
-- Found external ninja('1.12.1').
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: D:/p/vtk-compile-tools_x64-windows/share/vtk-compile-tools/copyright
-- Performing post-build validation
error: The following files are already installed in D:/installed/x64-windows and are in conflict with vtk-compile-tools:x64-windows
Installed by vtk:x64-windows:
  bin/vtkWrappingTools-9.3.dll
  bin/vtkWrappingTools-9.3.pdb
  lib/vtkWrappingTools-9.3.lib
Starting submission of vtk-compile-tools:[email protected] to 1 binary cache(s) in the background
Elapsed time to handle vtk-compile-tools:x64-windows: 21 s
vtk-compile-tools:x64-windows package ABI: 414bb0b5267a2a9a15788c642e98f19e06ba5f657d1b0efae3aa70bdb2d55cc9
@dg0yt
Copy link
Contributor Author

dg0yt commented Sep 6, 2025

Hm, IIRC the reason why I didn't remove lib is becuase it could contain shared objects. Basically we only want the tools which are in a different directory already, and the necessary runtime.

@dg0yt
Copy link
Contributor Author

dg0yt commented Sep 6, 2025

I will wait for the revert to land. At least no need to worry about the revert because using vtk:arm64-windows* downstream in paraview and vtk-dicom needs more work, and now I know that I must put all these ports in one PR.

I guess the feature testing was hiding the conflict because after feature testing the changed ports, the vtk-compile-tools artifact was cached, and there was no reason to install both vtk and vtk-compile-tools in a native triplet. (I could use a test port to force installing both, or I can let vtk do that.)

@BillyONeal
Copy link
Member

I guess the feature testing was hiding the conflict

No, the conflict was hidden because all conflict detection was broken prior to microsoft/vcpkg-tool#1768

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