Commit Graph

40 Commits

Author SHA1 Message Date
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -08:00
Kai Pastor
cccfe836db
[gdal] Add features for hdf5, netcdf, postgresql (#21231)
* Revise configuration, avoid hidden dependencies

* Expose hdf5 and netcdf feature, fix static linkage

* Fix hdf5 pc files

* Add spatialite flag

* Update versions

* Expose feature platform dependencies

* Update versions

* Configure gdal for windows arm and arm64

* Add postgresql feature

* Update versions

* Update wrapper

* Update versions

* Update baseline

* [skip actions] CI

* Use pkgconfig for expat

* Update versions

* uwp is unsupported (comsuppw.lib, atls.lib)

* Update versions
2022-01-03 13:08:39 -08:00
Kai Pastor
297ff7ba3e
[netcdf-c] Update to 4.8.1, revise features (#21239)
* Consolidate netcdf-c ZLIB patching

* Update to 4.8.1, refresh patches

* Resolve parameter warning

* Decouple netcdf-4 feature from hdf5

* Expose NCZarr features

* Break vcpkg CI cascade

* Fix hdf5 szip support detection for static linkage

* Allow curl, hdf5, libzip with minimal dependencies

* Disable fatal warnings on uwp

* Update versions

* Fix libzip dependency

* Fix and simplify szip config patch

* Revert nczarr-s3 feature for now

* Update versions

* [skip actions] CI

* [skip actions] Debug ci failure

* Revert "[skip actions] Debug ci failure"

This reverts commit 03f3d52623.
2021-11-18 21:25:08 -08:00
Jack·Boos·Yu
8d2a40f7c3
[hdf5] update to 1.12.1 (#20734)
* [hdf5] update to 1.12.1

* version

* Re-fix pkgconfig and szip, re-factory tool install, add feature utils

* version

* Fix debug lib name in pkgconfig files

* Re-fix debug lib name in pkgconfig files, re-fix szip

* Re-fix pkgconfig

* version

* Re-fix static szip, fix non-Windows installation

* version

* Apply suggestions

* version

* Apply suggestion

* version
2021-10-26 22:38:05 -07:00
Kai Pastor
1d39c6f246
[hdf5] Fix linking order in pc file (#18825)
* Fix link order in pc file

* x-add-version
2021-07-06 13:34:41 -07:00
Kai Pastor
c867e68ca8
[szip, hdf5] Fix mingw import lib names, control linkage (#17941)
* Format manifest, make port version explicit

* Use standard mingw import lib names

* Choose either static or shared binaries

* Insert macro for dynamic linkage

* Add szip pc file

* Quote path expressions

* Port away from deprecated cmake functions

* x-add-version

* Begin of hdf5 changes

* Remove obsolete variables (complements 23eadeae)

* Fix indentation and quoting expressions

* Handle single-linkage szip configuration

* Use mingw import lib names for hdf5

* Move dependencies to Requires in pc file

* Port away from deprecated cmake functions

* x-add-version hdf5

* Apply szip review comments

* Update version

* Improve pkgconfig patch to handle lists

* Update git-tree
2021-06-09 15:17:07 -07:00
Alexander Neumann
8534df4e72
[hdf5] fix pc files (#17598)
* [libctl] add new port

* [meep] add new port

* [meep|libctl] support only linux for now

* [meep] add msys2 win32 handling

* fix autoconfig missing flags in configure_make

* [meep] move to autoconfig also on linux

* [libct] enable autoconfig; [meep] disabled fixup pkgconfig files, routines is not able to fully clean up include paths from libraries

* [hdf5] trying to fix pkgconfig files

* [CI] add guile to linux image when provisioned

* [msys2] add libguile dependency for libctl

* [libctl] working on the windows port

* add missing msys2 packages

* add osx support

* add guile on osx VMSS provisioning file

* prepend msys2 to path

* apply format.diff from PR automated test

* revert skript changes

* more hdf5 stuff

* remove meep and libctl

* more pc fixes for hdf5

* version stuff

* reset doc changes

* reset x264 changes

* fix version stuff

Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
2021-05-06 13:52:01 -07:00
Matthieu Penant
99987d007a
[hdf5] threadsafe support (#17371)
* hdf5 threadsafe support

fixes #17260

* baseline + sha
2021-04-23 15:25:34 -07:00
ZeeWanderer
abda2ddcb4
[highfive] Update to 2.2.2 (#13257) 2020-09-05 07:19:43 -07:00
Alexander Neumann
23eadeaedc
[hdf5] Update HDF5 to 1.12 (#11747)
* [hdf5] Update HDF5 to 1.12 and use github live-clones instead of binary download

* [hdf5] bump control

* [hdf5] fix szip and typo about linkage

* [hdf5] add missing package namespace.... they somehow missed to set it?

* [hdf5] retry without "

* [field3d] fix regression and update. Remove windows as unsupported since the cmakelists tries to support windows

* fix typo

* remove ws

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* linebreak first patch

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* ws change

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [field3d] update copying installation

* [hdf5] use official github repo

* clean baseline

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-06-23 12:58:50 -07:00
Alexander Neumann
b79f7675aa
[hdf5] add tools and fortran feature (#9864)
* [hdf5] add tools and fortran feature

* change fortran feature to state requirements
2020-03-28 18:41:08 -07:00
Phil Christensen
e62d136128
[vcpkg] Add Supports: field. Use contents of triplets instead of names for dependency resolution. (#8601)
* remove unfinished "supports" tag

* extract "supports" from control files
But do nothing with the value

* Start `Supports` documentation

* Use Supports in a bunch of control files

I only tried matching the already existing logic in the portfile.cmake.

* Cmake var provider (#8)

* Cmake var provider (#9)

* fix windows build (#10)

* Add missing files to build

* Fix test (#11)

* adding hooks for cmake variables in expressions

* Adding hooks for 'supports' in CI test

* Fix test (#12)

* Add overrides to evaluation environment

* use "supported" tag in CI testing

* cleanup comment

* Fix issues with PR

* [var_provider] Get library linkage variables from triplet

* Fix compilation errors in tests

* Add unimplemented functions

* Fix unit tests part 1

* Fix issue when buildtrees dir does not exist

* Change binary output hash

* Fix handling of * feature

* Add core feature when using *

* Do not add Default-Features when installing 'core'

* [vcpkg] WIP. 6 failing tests.

* [vcpkg] WIP. 1 failing tests.

* [vcpkg] WIP. 0 failing tests.

* [vcpkg] Removed 'remove_graph'. 0 failing tests.

* [vcpkg] Removed 'install_graph'. 0 failing tests.

* [vcpkg] Remove AnyAction; replace with ActionPlan

* [vcpkg] Minor cleanup.

* [vcpkg][z3][qt5-connectivity][qt5-purchasing] Improve error messages while parsing. Fix a few trivial port issues.

* [vcpkg] Work around ICE with MSVC v140

* [vcpkg] Add purge on fail to decompress for CI

* [vcpkg] Fix parsing of nested parentheses in qualifiers

* [vcpkg] Fix Linux builds (explicit qualification in declaration)

* [vcpkg] Fix Build-Depends implying default features. Fix qualified dependencies regression.

* [mmx] Add to skip list and full rebuild -- mmx causes problems by installing 'sched.h'

* [libpqxx][mqtt-cpp] Prevent installing include/CMakeLists.txt

* [cppitertools] Fix installed include namespace (should be include/cppitertools)

* [libsoundio] Move headers into soundio/ subdirectory as per original cmake

* [ci.baseline] Temporarily skip charls due to conflict with dcmtk

* [vcpkg] Add restricted include files post build check -- bump global abi version

* [libsoundio] Hotfix stray line in portfile

* [vcpkg] Fix regression: CMake information was not being displayed for build-and-install actions

* [jsonnet] Fix installation of internal headers; use system nlohmann-json

* [grpc][upb] Teach grpc to use packaged upb. Add find_package(upb). Remove inappropriate upb features.

* [zfp] Move problematic 'include/bitstream.h' to 'include/zfp/bitstream.h'

* [x265] Bump control version to trigger rebuild after zfp conflict

* [akali] Disable parallel configure

* [dirent][dlfcn-win32][getopt-win32][pthreads] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [ci.baseline] Update baseline for improved upb support

* [tgui] Disable parallel configure

* [libiconv] Enable VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Disable parallel configure

* [vcpkg] Implement policy VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Fix amount of escaping semicolons -- Note: I do not know the root cause requiring this change

* [libodb-sqlite] Fix configuring into source directory

* [gettext] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [libodb] DISABLE_PARALLEL_CONFIGURE

* [vcpkg] Add 'config.h' and 'local.h' to restricted header list

* [mcpp] Remove unused and problematic include 'config.h' from installed files

* [teemo] Move installed headers into subdirectory to prevent conflicts with x265

* [ci.baseline] Update current OSX. Skip libmesh on all platforms due to heavy conflicts.

* [vcpkg] Add 'slice.h' as a restricted header

* [osg] Improve accuracy of dependencies (disable some, add some to Depends)

* [vcpkg] Skip invoking a subprocess for 0 specs in load_tag_vars

* [ci.baseline] Skip mongo-c-driver on osx due to flakiness

* [teemo] Fix incorrect include file read

* [osg] Fix dependency typo: glut -> freeglut

* [vcpkg] Recover some lost performance with the addition of vcpkg_get_tags.

A huge performance cost was loading the triplet files over and over; instead, we splice the sources into a macro and load it once, then just call that macro for each port.
Remove use of hashing because we aren't cross-process-safe anyway (global static will do instead).

* [vcpkg] Change Supports atom 'windows' to include UWP. Improve Supports field documentation.

* [vcpkg] Add docs for VCPKG_ENV_PASSTHROUGH and VCPKG_DEP_INFO_OVERRIDE_VARS

* Fix typo

Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-03 14:22:52 -08:00
Alexander Neumann
34edf6c569 [HDF5] Correct SZIP linkage, modernize portfile (#9413)
* [HDF5] Correct SZIP linkage, modernize portfile and make szip and zlib features instead of hard dependencies.

* fix the features variable
2020-01-10 10:44:44 -08:00
Jack·Boos·Yu
f23734d2b6 [hdf5] Fix static builds when building dynamic builds (#9043)
* [hdf5]Fix static builds when building dynamic builds.

* [hdf5]Remove duplicate code, fix zlib library name.

* [hdf5]Adapt links to different link types of szip.

* [hdf5] Fix hdf5-config.cmake.in
2020-01-06 14:13:34 -08:00
Stefano Sinigardi
726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00
Stefano Sinigardi
455223d009 [OpenMPI] add a new port (#7142)
* [OpenMPI] add a new port

* [OpenMPI] enable VCPKG_CONCURRENCY

* [OpenMPI] fix prefix

* [OpenMPI] fix license installation, compatible with single config build

* [many ports] enable portable mpi implementation

* [bond] Update Haskell stack SHA512
2019-07-31 14:47:59 -07:00
Stefano Sinigardi
47d206e149 [many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems

* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there

* [libharu] add compatibility with non-win32 platforms

* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS

* [openblas] playing with underscore, without success

* [openblas/lapack] fix library integration

* [clapack] improve target handling in cmake module

* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs

* [clapack,openblas] improve libraries integration

* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags

* [suitesparse] improve integration with new lapack/openblas mechanism

* [suitesparse] add no underscore postfix also for linux

* [ceres] fix integration with newer openblas/lapack configs

* [aws-c-event-stream] fix regression

* [systemc] fix regression

* [libwebp,geogram] trigger rebuild

* [libwebp,pthread4w] fix regressions

* [glbinding] fix cmake module installation

* [globjects] disentangle unnecessary dependency from qt5

* [jasper] remove broken and unnecessary patches

* [libwebp] fix regression

* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files

* [clapack] correctly find dlls

* [clapack] use a generic blas as dependency

* [fizz,g2o] restore expected version

* fix mistake

* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports

* [libressl,openssl] do not try to build one if the other is already installed

* [itk] update ref and patch to avoid regression

* [libressl,openssl] implement full strategy to fix CI

* [libwebp] disable components that are broken on macOS

* [ogre] enable macOS build

* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169

* [ogre] add missing install command

* [ffmpeg] enable wrapper for cmake module

* [ffmpeg] add avresample module finder

* [ffmpeg] improve module detection and exported symbols

* [ffmpeg] add variables to cache

* [thrift] remove unnecessary build option

* [allegro5] fix shared/static inversion

* [protobuf] cleanup

* [libressl] cleanup

* [moos-core] cleanup

* commented features must not be separated from other features, otherwise vcpkg complains

* [itk] fix regression

* [shogun,itk] fix regressions

* [ogre] fix regression

* [opusfile] add compatibility with non-win32

* [itk] fix regression

* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile

* add missing dependencies

* [ismrmrd] fix regression

* [ffmpeg] trigger rebuild

* [clapack,openblas,libogg] fix regressions on macOS

* [libtins] fix regression

* force rebuild windows regressions, unable to reproduce locally

* [mosquitto] enable non-win32 builds

* [json-dto] force rebuild, unable to reproduce regression locally

* [many ports] uniform naming and path length requests

* fix regression

* fix regression

* [ffmpeg] fixes for downstream projects

* clean up - thanks to reviewers

* trigger rebuild of regressions on macOS

* trigger rebuild of regressions on macOS - part2

* Add core back

* Use VCPKG_CONCURRENCY

* Add core back to suitesparse

* Add core back to curl

* Add core back to magnum

* Add core back to magnum

* Add core back to magnum

* Add core back to cgal
2019-06-20 19:11:54 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Alexander Neumann
2ca3476149 [netcdf-c/hdf5] improve/correct linkage (#6771)
* [netcdf_c] improve HDF5 linkage

* [hdf5] add required HDF5 definitions not set by findHDF5

* [netcdf-c] Call chain HDF5: -> vcpkg_cmake_wrapper (old behvior)
 -> port supplied FindHDF5 -> includes hdf5Config from HDF5_ROOT

* [hdf5] fix szip linkage...again..
will now double link against szip target but thats better than before
the double link issue does not hurt and should be resolved upstream

* revert find_dependency

requires include(CMakeFindDependencyMacro)

* [netcdf-c] removed unnecessary patch
2019-06-08 14:08:59 -07:00
Victor Romero
050e71d01d
Remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (#5937)
* [various ports] remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [alac,benchmark,capnproto] Fix  check_linkage call

* [fastlz] Fix SHA512

* [coroutine] Fix dynamic build

* [folly] Find double-conversion

* [gamma] Use vcpkg_from_github

* [librsync] Enable static builds

* [netcdf-cxx4] Fix SHA512

* [octomap] Fix static build

* [tidy-html5] Fix static build

* [various ports] remove custom messages for shared/static builds, modernize some scripts in the meantime

* [folly] Use ras0219's fix for link paths

* [octomap] Fix exported targets

* [uvatlas] Set tool download SHA512

* [duktape+python2] fix portfile to call configure with correct python version, manage python2 also outside win32

* [suitesparse] osx fix

* [gtkmm] Call vcpkg_check_linkage after including vcpkg functions

* [duktape] Resolve conflicts

* [duktape] FIxed typo in Python paths

* [wangle] Find zlib

* [openssl-uwp] Fix SHA512

* [glib] Allow static builds on non-Windows

* [suitesparse] Fix build on Windows

* [multiple ports] Bump CONTROL version

* [multiple ports] Fix description indent

* [directxtk] Fix CONTROL file

* [bde,duktape,qpid-proton] Build packages with python2 installed

* [binn] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [gdal,live555,uriparser] Fix regressions

* [live555] Update to 2019.04.24
2019-05-02 22:57:43 -07:00
grdowns
8bd9e3a976 [hdf5] Set wrapper policy for older dependent libraries 2019-04-04 15:22:03 -07:00
Robert Schumacher
7df18a5804 [hdf5][vtk] Add vcpkg-cmake-wrapper for HDF5 to fix vtk 2019-04-03 05:52:27 -07:00
Dženan Zukić
641e1cd53d Fix double-conversion issue in ITK (#5115)
* Using newer version of ITK which fixes double-conversion problem

* Minor style update of ITK portfile

* Using newer version of ITK which fixes double-conversion problem

* [itk] Improve version string

* [itk][hdf5] Update ITK commit. Depend on eigen3. Bump hdf5 control version.

* [hdf5] Update CONTROL

* [netcdf-c] Disable parallel configure due to writes to source directory

* [hdf5] Disable parallel configure due to writes to source directory. Switch to tar.gz to prevent CRLF line endings.
2019-04-02 20:35:44 -07:00
Alexander Neumann
49f59fd081 updated hdf5 to 1.10.5.
Also now builds dynamic and static libs in dynamic build due to the targets exported by hdf5. (Revert to default hdf5 build behavior)
2019-03-14 22:29:33 +01:00
Sean Warren
a9f8430961 [hdf5] Use cmake wrapper to ensure consuming libraries link to szip (#5467)
* [hdf5] Use cmake wrapper to ensure consuming libraries link to szip in static build

* [hdf5] Move hdf5 cmake code from vcpkg.cmake to vcpkg-cmake-wrapper

* [hdf5] Do not force search in config mode

* [hdf5] balance needs of vtk and kealib
2019-03-05 11:09:22 -08:00
Robert Schumacher
57c9cd012e [hdf5] Remove unneeded .gitattributes 2018-03-01 10:43:58 -08:00
Hiroshi Miura
8fe30fe1ea Add kealib ports and modify hdf5 recipe (#2708)
* [kealib] add kealib ports

KEALib is a GDAL model library using HDF5 standard.

- Patch library cmake scripts.
- Provide MIT license file.
- Depend on hdf5 library with [cpp] feature.
- No generation of GDAL driver.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [kealib] fix option key to specify building shared library

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [kealib] call copy_pdbs() after install

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [kealib] update cmake patch

- fix library name in MSVC
- fix to find hdf5 libraries

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [kealib] add parallel feature

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Revert "[hdf5] add cpp feature"

This reverts commit fbe8766466.

* [hdf5] always build cpp library

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [kealib] drop dependency for feature hdf5[cpp]

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [kealib] update static link handling

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [kealib] revert a previous hack for static link to szip/zlib

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [hdf5] work around szip-config.cmake behavior

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* link dependencies of static libs
2018-03-01 10:39:20 -08:00
Ossowski, Michal
fbe8766466 [hdf5] add cpp feature
Required for building caffe
2018-02-01 15:48:40 +01:00
Robert Schumacher
7f7f2b629e [hdf5] Bump version to include new feature 2018-01-08 23:34:52 -08:00
James Chang
69e4ef6632 make parallel support optional 2018-01-09 14:22:02 +08:00
Albert Ziegenhagel
7d48a73928 Update HDF5 to 1.10.1 2018-01-03 13:28:42 +01:00
Robert Schumacher
7938006022 [ports] Mark several ports as unbuildable on UWP 2017-11-26 10:28:16 -08:00
Robert Schumacher
bb47f71bf3 [hdf5] Switch to using vcpkg_fixup_cmake_targets() 2017-11-08 15:33:38 -08:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
Robert Schumacher
6e44495b2f [vcpkg-configure-cmake] Centralize application of CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP 2017-03-06 10:46:45 -08:00
Robert Schumacher
2c9cf2a520 [hdf5] Mark linked libraries as private 2017-02-28 01:48:24 -08:00
Robert Schumacher
601b167610 [hdf5] Update to 1.10, enable disabling of static libs 2017-02-28 01:09:04 -08:00
Robert Schumacher
5d873f0520 [hdf5] Fix #673 by explicitly specifying the szip libraries 2017-02-16 22:53:28 -08:00
Alexander Karatarakis
5693ce8b4d [hdf5] Enable ninja option 2017-02-08 23:15:27 -08:00
Albert Ziegenhagel
fda4bb11ce Add port for hdf5 2017-01-11 12:18:49 +01:00