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

vtk: new recipe #24808

Open
wants to merge 197 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
10630e9
Package VTK, first pass.
paulharris May 13, 2022
e816556
Move patch code into build() step
paulharris May 13, 2022
57298dc
Exported cmake variable to help test_package link
paulharris May 13, 2022
642be05
Fixes to patching (not copying source)
paulharris May 13, 2022
8b3f999
Quotes in conandata.yml
paulharris May 13, 2022
bc20bb0
Support old Conan CI, and more component hacks
paulharris May 14, 2022
8aabb24
Hack, add all lib list for one last scenario
paulharris May 14, 2022
2ae6b30
Set a specific cmake version requirement
paulharris May 14, 2022
aedf85d
Fixes as suggested on GH
paulharris May 15, 2022
7776431
Fixup freetype to work with preferconfig=true
paulharris May 17, 2022
d838804
Use conan EXPAT
paulharris May 17, 2022
22a0338
More attempts
paulharris May 17, 2022
fca6296
Working again
paulharris May 17, 2022
2506583
Tweak package naming
paulharris May 17, 2022
ab3b053
No longer export VTK cmake files
paulharris May 18, 2022
0f3fc38
Auto-detect modules from library files. Cleaned up component list.
paulharris May 18, 2022
ece0ba4
build_requires --> tool_requires
paulharris May 18, 2022
c169e23
Trying to fix build overrides
paulharris May 18, 2022
befc2ec
why wont it work
paulharris May 18, 2022
06b6d8e
weird...
paulharris May 18, 2022
0326d1a
fiddle
paulharris May 18, 2022
5a0a436
Tweak to test_package
paulharris May 18, 2022
bd4f9a1
More requirements. Has problem with cmake+openssl+libcurl
paulharris May 18, 2022
be16b80
Require minimum compiler, and workaround conan dep bug
paulharris May 18, 2022
3af7de4
Fixes for compiler plus HDF5 plus Theora
paulharris May 18, 2022
b8c2196
Try to diagnose apple-clang issue
paulharris May 18, 2022
0dd7446
More dependency external support
paulharris May 19, 2022
894cf89
Minor fix, and support conan cgns
paulharris May 19, 2022
e3e48f4
Many more dependencies
paulharris May 19, 2022
de491bb
Enabling 'build_all_modules'
paulharris May 19, 2022
f168231
Run build in RunEnvironment shared-build works
paulharris May 20, 2022
636bbe1
Dependency updates
paulharris May 24, 2022
4dfa45d
Don't set the builddirs
paulharris Jun 10, 2022
e066862
Fixes for C++20
paulharris Jun 10, 2022
7ec2d5d
Don't build with xorg/system on Windows
paulharris Jun 17, 2022
b8210b7
Fixup iterator patch for the tarball
paulharris Jun 17, 2022
560b450
Add option to enable/disable remote modules
paulharris Jun 17, 2022
98cb35e
Tweak for windows
paulharris Jun 24, 2022
a3a0561
Implemented automatic scanning of modules.json
paulharris Jun 24, 2022
344030b
Add a mini-conan-specific component to avoid stdout spam
paulharris Jun 24, 2022
f61fa9b
Working on using vtk module file
paulharris Jun 24, 2022
58e71e7
Fixes for windows module approach, use kissfft:datatype=double
paulharris Jun 28, 2022
4003651
Bump dep versions
paulharris Jul 8, 2022
e53f7cd
Attempted to set resdirs, i have no idea
paulharris Jul 9, 2022
7fc5d8c
More conan fixes
paulharris Oct 25, 2022
7ac9976
Include private internal deps in component requires
paulharris Nov 2, 2022
4214864
vtk - ensure it links to QtOpenGL when required
paulharris Sep 9, 2022
276d86b
vtk - fixes for copying modules.json into the right spot
paulharris Sep 9, 2022
de7f536
Use external libharu
paulharris Nov 8, 2022
d3f3592
Upgrade for conan 1.53
paulharris Nov 8, 2022
37f0f77
Cleanup, and add 9.2.2
paulharris Nov 8, 2022
6dae3a9
Fixes for building vtk 9.2.2
paulharris Nov 8, 2022
3b27b42
Fix source get() and fix bug testing if group/modules are enabled
paulharris Dec 1, 2022
7122e7e
python fixes
paulharris Dec 1, 2022
d73af16
Allow choice between libjpeg and libjpeg-turbo
paulharris Dec 16, 2022
711667f
Thanks @EricAtORS - VTK can only compile with the pugixml option wcha…
paulharris Dec 16, 2022
4ffebe7
Fix problem when QT is not enabled
paulharris Dec 16, 2022
b2142ff
Added small comment
paulharris Dec 16, 2022
f67fbc6
Support building for a specific git commit or branch or non-version tag
paulharris Dec 16, 2022
fdb7a93
Add example git-commit version in config.yml
paulharris Dec 16, 2022
961abe1
Bump dependencies
paulharris Dec 16, 2022
d998944
in progress
paulharris Dec 16, 2022
24e4727
Cleaned up a lot of the old stuff in recipe
paulharris Dec 16, 2022
478f800
Fixes from @EricAtORS, especially for python-wrap
paulharris Feb 2, 2023
afb2651
Third-party libs: don't patch VTK, instead use CMakeDeps set_property()
paulharris Feb 3, 2023
24fab9e
Check IOExport is built with wrap_python - EricAtORS says required.
paulharris Feb 3, 2023
7b9708d
Fixup NetCDF, VTK needs a CMake definition.
paulharris Feb 3, 2023
2d60c55
Fixup for C++17/20
paulharris Feb 3, 2023
cee42e0
Drop vtk 9.1.0
paulharris Feb 3, 2023
80d2262
Bump dependency for sqlite3
paulharris Feb 3, 2023
c425fab
Check kissfft:datatype=double in validate
paulharris Feb 3, 2023
1e5c691
Override libcurl version requirement, for CCI build for now
paulharris Feb 3, 2023
6083003
Fixup kissfft configuration
paulharris Feb 3, 2023
260a56f
Remove require-override
paulharris Feb 3, 2023
0b7d375
Fix linter
paulharris Feb 3, 2023
ececa8b
Add version 9.2.5
paulharris Feb 4, 2023
0482ccc
Add sqlite3 to build_requirements
paulharris Feb 9, 2023
ccf3f31
Declare both libs and kits as components. Extra recipe debugging.
paulharris Feb 11, 2023
ddaaabb
Removed 9.2.2, added 9.2.6. Added and fixed patches.
paulharris Mar 22, 2023
cbd58fb
Added ALL currently available modules to recipe with a loop
paulharris Mar 22, 2023
b9e7c85
Support VTK's autoinit with a different approach
paulharris Mar 22, 2023
2542bf8
Add patch for python wrapping
paulharris Mar 22, 2023
4fa0ec0
Dropped version 9.2.5
paulharris Mar 22, 2023
77379c3
Backported patch for vtkCGNSReader.cxx
paulharris Mar 22, 2023
0e2b5cd
Update conan dependency versions
paulharris Apr 5, 2023
6438c94
Downgrade deps to help build on C3I
paulharris Apr 6, 2023
e05872c
Another attempt to get it to build on C3I
paulharris Apr 6, 2023
6c74214
Give up, just ask for latest dependencies
paulharris Apr 6, 2023
79eb2f5
Split some of the code out of package_info for generating a header.
paulharris May 27, 2023
c10d9f8
temp fix for vtk to find shared library
EricAtORS Apr 4, 2023
77e7fd1
Fixup shared support for glew, freetype, jsoncpp, lzma
paulharris May 31, 2023
f59eb38
Fix for lzma shared/static detection (use xz_utils)
paulharris Jun 7, 2023
b4db783
Bump deps
paulharris Jun 7, 2023
770485d
Unbump deps
paulharris Jun 8, 2023
ccf450b
Bugfix for shared/static dependency detection
paulharris Jun 9, 2023
f189013
Attempt to resolve openssl version conflicts with my dependencies
paulharris Jun 9, 2023
c8547c3
Try a different 'requires' for openssl
paulharris Jun 9, 2023
287fade
Disable OpenVR dependency until its recipe is ready for conan v2
paulharris Jun 9, 2023
1ff991c
Extra work to avoid requiring OpenVR
paulharris Jun 9, 2023
bb84e84
Add patch for future upstreamed patch
paulharris Jun 21, 2023
9df0265
Compile fix for GCC13
paulharris Sep 1, 2023
571ce12
Add patches for vtkBoxClipDataSet, vtkCleanPolyData (pointmerging) an…
paulharris Oct 25, 2023
499090c
Added patch for vtkHardwarePicker. Renamed some patches.
paulharris Nov 30, 2023
2031686
Requires to use ranges
paulharris Feb 14, 2024
d775961
Tweaking recipe
paulharris Feb 14, 2024
e3c9e2a
Use tarball source
paulharris Feb 16, 2024
1d51da8
Add external script for finding modules in src
paulharris Feb 16, 2024
edf4b39
Force dependency versions to avoid conflict with
paulharris Feb 16, 2024
02577b9
Tweak libxml2 version
paulharris Feb 16, 2024
46f1d7f
Add comments, fix expat dependency conflict
paulharris Feb 16, 2024
cf9ef8b
Use conan's kissfft rather than internal package
paulharris Feb 16, 2024
7403e15
And add the patch
paulharris Feb 16, 2024
f351519
Disable group_enable_Web (default) until wrapping is enabled by default
paulharris Feb 16, 2024
68add87
Also disable QtQuick support as QT's default package isn't enabled
paulharris Feb 16, 2024
9d21e55
VTK recipe is now driven by json file with all the dependency info
paulharris Feb 26, 2024
89bffa2
Rearranged methods in the assumed order that they would be called
paulharris Feb 26, 2024
e4e371d
Cleaned up the option-resolution system
paulharris Feb 26, 2024
638f6b3
Remove some debugging
paulharris Feb 26, 2024
9a508f8
Add vtkHull patch
paulharris Mar 6, 2024
72aa0c8
Add patch to specify OutputPrecision for vtkQuadricDecimation
paulharris Mar 7, 2024
6fe94f8
Consumers don't use private deps. Use transitive headers+libs for con…
paulharris Mar 13, 2024
18773cf
Port 2 new 9.2.6 patches to 9.3.0
paulharris Mar 13, 2024
bad2dd2
Fix comma typos
paulharris Feb 27, 2024
2db205c
Typo
paulharris Mar 14, 2024
c1de0c0
Re-enable printouts. Fixup xorg handling for Windows.
paulharris Apr 22, 2024
5006f82
Include private dependencies in the component requirements, for linking
paulharris May 16, 2024
416fd18
Bump some dependencies
paulharris May 17, 2024
2ac9f16
More vtkQuadricDecimation fixes
paulharris May 27, 2024
e1550c5
Dropped patches and configuration for VTK 9.2.6
paulharris May 27, 2024
fca2b61
vtk: drop modules-9.2.6.json
valgur Jul 7, 2024
403d304
vtk: drop test_v1_package
valgur Jul 7, 2024
6153c1c
vtk: tidy gather_modules_from_src.py
valgur Jul 7, 2024
6f62d24
vtk: drop wrappers, clean up conanfile.py a bit, drop 'enable' from o…
valgur Jul 7, 2024
e40e5be
vtk: refactor conanfile.py a bit
valgur Jul 7, 2024
9608c92
vtk: make XOrg components more specific
valgur Jul 7, 2024
a1598ac
vtk: tweak dependencies
valgur Jul 7, 2024
b70ddbf
vtk: add parsing of kits to gather_modules_from_src.py
valgur Jul 8, 2024
335dbe7
vtk: add --dump-options option to gather_modules_from_src.py
valgur Jul 8, 2024
3329308
vtk: bump v9.3.0 -> v9.3.1
valgur Jul 8, 2024
ead2e31
vtk: update CMake vars
valgur Jul 8, 2024
f4a4f19
vtk: add TODOs for missing dependencies
valgur Jul 8, 2024
67040dc
vtk: include conditions info in options JSON
valgur Jul 8, 2024
f3cc98d
vtk: fix parsing of comments
valgur Jul 30, 2024
8063ed2
vtk: wip
valgur Jul 31, 2024
b4495f1
vtk: wip
valgur Aug 1, 2024
c2a513a
vtk: add automatic component creation
valgur Aug 1, 2024
550e0b0
vtk: handle comments better in gather_modules_from_src.py
valgur Aug 1, 2024
290bb8b
vtk: always require core dependencies
valgur Aug 1, 2024
e792d29
vtk: improve component generation
valgur Aug 1, 2024
6aece67
vtk: expose internal modules as options
valgur Aug 2, 2024
6d9ab2b
vtk: fix automatic component generation
valgur Aug 2, 2024
49eddab
vtk: full build
valgur Aug 2, 2024
91ef1e7
vtk: loguru cannot be unvendored
valgur Aug 2, 2024
2458535
vtk: Dawn is not supported
valgur Aug 2, 2024
e4cdc32
vtk: fix Qt, libtiff, zSpace, zeromq support
valgur Aug 2, 2024
8460d2f
vtk: export CMake vars
valgur Aug 2, 2024
3a7f6ed
vtk: restore autoinit support
valgur Aug 2, 2024
b82aa02
vtk: drop outdated readmes for now
valgur Aug 2, 2024
9f9d183
vtk: disable missing deps, add transitive_headers=True
valgur Aug 2, 2024
9a97a52
vtk: resolve version conflicts
valgur Aug 2, 2024
95a86ed
vtk: fix missing import
valgur Aug 2, 2024
9738d4a
vtk: add some extra API options
valgur Aug 2, 2024
47946f6
vtk: make Conan kissfft optional
valgur Aug 2, 2024
cefd692
vtk: filter vtkbuild requires
valgur Aug 3, 2024
c3a098a
vtk: drop an unnecessary test_package CMake var
valgur Aug 3, 2024
9d58d5e
vtk: add a "poison" Conan target to prohibit overlinking
valgur Aug 3, 2024
0c98e8a
vtk: replace self.output.debug with .info
valgur Aug 3, 2024
329439c
vtk: fix a small recipe bug
valgur Aug 3, 2024
60f8472
vtk: use "not in"
valgur Aug 3, 2024
2ccf349
vtk: require Conan 2.0
valgur Aug 4, 2024
af47324
vtk: fix version conflicts
valgur Aug 4, 2024
5b827db
vtk: handle missing binaries
valgur Aug 4, 2024
e1a6a5f
vtk: drop with_cli11
valgur Aug 4, 2024
f8fbc3d
vtk: fix some conflicts
valgur Aug 4, 2024
5c32360
vtk: allow Conan v1, but without module opts support
valgur Aug 4, 2024
21777e2
vtk: make dependency validation much more robust
valgur Aug 4, 2024
cdd2637
vtk: add want_all_modules=True/False option
valgur Aug 4, 2024
6e32c4b
vtk: fix a small bug
valgur Aug 4, 2024
dfe5b77
vtk: disable vtk-m temporarily
valgur Aug 4, 2024
26a09d5
vtk: include the poison target only when want_all_modules=True
valgur Aug 4, 2024
95af0ef
vtk: improve Windows support
valgur Aug 26, 2024
f65e275
Merge remote-tracking branch 'upstream/master' into new/vtk
valgur Aug 30, 2024
fc1e638
vtk: fix overly strict FastFloat version check for Conan v1
valgur Aug 30, 2024
e75e991
vtk: relax fmt version check
valgur Aug 30, 2024
1c574d0
vtk: store conan_components.json in res/ instead of share/
valgur Aug 30, 2024
dfa44fc
vtk: not worth the effort to support Conan v1
valgur Aug 31, 2024
9e297e1
vtk: revert Conan version range
valgur Aug 31, 2024
5ce69ca
vtk: add missing system libs
valgur Aug 31, 2024
bee0c92
vtk: disable shared=True on MSVC
valgur Sep 3, 2024
69b4bd2
vtk: static build on MSVC is broken, not shared
valgur Sep 4, 2024
2352936
Merge remote-tracking branch 'upstream/master' into new/vtk
valgur Oct 8, 2024
12876c2
vtk: set CMAKE_TRY_COMPILE_CONFIGURATION
valgur Oct 7, 2024
f199ea6
vtk: set openmpi/*:enable_cxx=True
valgur Oct 8, 2024
f1d6cfa
vtk: add cross-compilation support
valgur Oct 13, 2024
960858c
Use a version range for sqlite3 to match qt/6.x recipe
valgur Oct 17, 2024
b759adb
Use the latest hdf5 for cross-compilation support
valgur Nov 3, 2024
f34ba2b
vtk: simplify with_qt to just True/False
valgur Nov 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions recipes/vtk/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
sources:
"9.3.1":
url: "https://www.vtk.org/files/release/9.3/VTK-9.3.1.tar.gz"
sha256: "8354ec084ea0d2dc3d23dbe4243823c4bfc270382d0ce8d658939fd50061cab8"
patches:
"9.3.1":
- patch_file: "patches/0001-add-missing-external-package-support.patch"
patch_description: "Add missing external package support to some deps"
patch_type: "conan"
- patch_file: "patches/0002-make-libtiff-dependency-public.patch"
patch_description: "Make libtiff dependency public internally"
patch_type: "conan"
- patch_file: "patches/0003-relax-dep-version-requirements.patch"
patch_description: "Relax major version requirement for FastFloat"
patch_type: "conan"
1,212 changes: 1,212 additions & 0 deletions recipes/vtk/all/conanfile.py

Large diffs are not rendered by default.

Loading