-
Notifications
You must be signed in to change notification settings - Fork 7.2k
[vtk] Fix features and cross builds #46843
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
Conversation
b72273e to
e7a760a
Compare
... closer to initialization.
In contrast to VTK_FEATURE_OPTIONS, say NO instead of DONT_WANT. This forces features to explicitly model true dependencies and helps avoid hidden installation order problems. Start with feature sql <-> dependency sqlite3.
Group MPI implies mpi requirements for other dependencies.
... and use vcpkg_get_vcpkg_installed_python().
4fff42f to
39b9c78
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
BillyONeal
left a comment
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.
Thanks for the fixes! Fingers crossed this also helps with the funny behavior we're seeing on modern macOS :/
|
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: 414bb0b5267a2a9a15788c642e98f19e06ba5f657d1b0efae3aa70bdb2d55cc9I'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. |
|
Actually I can't do that because it breaks the cross platforms too :(. I think I'm forced to revert this :( |
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
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
|
Hm, IIRC the reason why I didn't remove |
|
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.) |
No, the conflict was hidden because all conflict detection was broken prior to microsoft/vcpkg-tool#1768 |
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.