From e2d3b908303fc3effd064a4b5f30da11ffeb003f Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 15 Mar 2026 09:09:48 -0600 Subject: [PATCH 1/3] Bootstrap for EPEL10 --- vtk.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtk.spec b/vtk.spec index ae4c0fa..601db40 100644 --- a/vtk.spec +++ b/vtk.spec @@ -4,7 +4,7 @@ %global _lto_cflags %{nil} # There is a circular dep with opencascade -%bcond bootstrap 0 +%bcond bootstrap 1 # OSMesa and X support are mutually exclusive. # TODO - buid separate OSMesa version if desired From 852f7f83e68a84208fa01c541794823abee32da9 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 15 Mar 2026 09:32:28 -0600 Subject: [PATCH 2/3] Build with bundled fast_float --- vtk.spec | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/vtk.spec b/vtk.spec index 601db40..27b1cb7 100644 --- a/vtk.spec +++ b/vtk.spec @@ -115,7 +115,6 @@ BuildRequires: cgnslib-devel BuildRequires: cli11-devel BuildRequires: eigen3-devel BuildRequires: expat-devel -BuildRequires: fast_float-devel BuildRequires: ffmpeg-free-devel %if %{with fmt} BuildRequires: fmt-devel >= 8.1.0 @@ -226,8 +225,6 @@ Requires: cli11-static \ # eigen3 is noarch and header-only \ Requires: eigen3-static \ Requires: expat-devel%{?_isa} \ -# fast_float is noarch and header-only \ -Requires: fast_float-devel \ Requires: ffmpeg-free-devel%{?_isa} \ %if %{with fmt} \ Requires: fmt-devel%{?_isa} \ @@ -310,6 +307,7 @@ Provides: bundled(kwsys-systemtools) Provides: bundled(diy2) Provides: bundled(exodusII) = 2.0.0 Provides: bundled(exprtk) = 2.71 +Provides: bundled(fast_flot) = 8.0.2 Provides: bundled(fides) %if !%{with fmt} Provides: bundled(fmt) = 8.1.0 @@ -600,7 +598,7 @@ programming languages. # TODO - VPIC - not yet packaged # TODO - xdmf2 - not yet packaged # TODO - xdmf3 - not yet packaged -for x in vtk{cgns,cli11,eigen,expat,fast_float,%{?with_fmt:fmt,}freetype,%{?with_gl2ps:gl2ps,}hdf5,jpeg,jsoncpp,libharu,libproj,libxml2,lz4,lzma,mpi4py,netcdf,nlohmannjson,ogg,pegtl,png,pugixml,sqlite,theora,tiff,utf8,zlib} +for x in vtk{cgns,cli11,eigen,expat,%{?with_fmt:fmt,}freetype,%{?with_gl2ps:gl2ps,}hdf5,jpeg,jsoncpp,libharu,libproj,libxml2,lz4,lzma,mpi4py,netcdf,nlohmannjson,ogg,pegtl,png,pugixml,sqlite,theora,tiff,utf8,zlib} do rm -r ThirdParty/*/${x} done @@ -608,12 +606,6 @@ done rm -r ThirdParty/xdmf3 %endif -# Remove version requirements -sed -i -e '/VERSION *"/d' ThirdParty/fast_float/CMakeLists.txt - -# Remove version requirements -sed -i -e '/VERSION *"/d' ThirdParty/fast_float/CMakeLists.txt - # Remove unused KWSys items find Utilities/KWSys/vtksys/ -name \*.[ch]\* | grep -vE '^Utilities/KWSys/vtksys/([a-z].*|Configure|SharedForward|Status|String\.hxx|Base64|CommandLineArguments|Directory|DynamicLoader|Encoding|FStream|FundamentalType|Glob|MD5|Process|RegularExpression|System|SystemInformation|SystemTools)(C|CXX|UNIX)?\.' | xargs rm From 890ea0df46e89d9fc5786a7a1f3730660db8f6c5 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 15 Mar 2026 10:37:47 -0600 Subject: [PATCH 3/3] Specify internal fast_float [skip changelog] --- vtk.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/vtk.spec b/vtk.spec index 27b1cb7..516a6ee 100644 --- a/vtk.spec +++ b/vtk.spec @@ -690,6 +690,7 @@ find vtk-examples -type f | xargs chmod -R a-x -DVTK_MODULE_ENABLE_VTK_FiltersOpenTURNS:STRING=NO \\\ -DVTK_MODULE_ENABLE_VTK_IOADIOS2:STRING=NO \\\ -DVTK_MODULE_ENABLE_VTK_IOOpenVDB:STRING=NO \\\ + -DVTK_MODULE_USE_EXTERNAL_VTK_fast_float:BOOL=OFF \\\ %if !%{with fmt} \ -DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=OFF \\\ %endif \