Commit Graph

12253 Commits

Author SHA1 Message Date
Jack·Boos·Yu
8a33418aa5
[curl] Enable feature tool and install curl-config on non-Windows (#14473)
* [curl] Enable feature tool and install curl-config on non-Windows

* Update ports/curl/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-12 12:33:02 -08:00
Alexander Neumann
a07107bacd
[harfbuzz] fix icu linkage (#14530) 2020-11-12 10:23:11 -08:00
Jack·Boos·Yu
1009863e79
[libmariadb] Also export target mariadbclient (#14533) 2020-11-12 10:22:36 -08:00
nicole mazzuca
2dc708898a
[vcpkg] Add x-ignore-lock-failures (#14397)
* [vcpkg] Add disable-lock options

This should fix #14281 at least as a stopgap.

Additionally, adds better errors.

* billy CRs

* change from "disable-lock" to "allow-spurious-lock-failures"

* billy cr
2020-11-12 10:16:24 -08:00
Joachim Gehweiler
11b4a16bca
[tensorflow-cc] More or less completely rewritten port, update to 2.3.1 (#13028)
* fix build issues occurring from default bazel config being used because customized bazel config is stored in wrong directory

* [tensorflow-cc] Update CONTROL and ci.baseline.txt

* fix also applies to windows static build

* fix debug and static builds as well as library naming for non-linux
- add patch to fix debug builds
- add patch to fix exports for static linking
- really build debug (instead of cloning release)
- override bazel build options for debug (work around bazel bug)
- bazel doesn't support static libraries: work around by building dynamic library and constructing static linkage commands from build log
- Windows .pdb file can't be >4GB even on x64: work around using reduced debug information
- Windows doesn't support .lib files >4GB even on x64, so split into multiple libs
- vcpkg requires equal amount of libs for debug and release: work around using handcrafted empty dummy libs
- fix naming of libs (.dll on Windows and .dylib on macOS)

* upgrade tensorflow from v1.14 to v2.3
- adapt patch files to tensorflow code changes
- update bazel from v0.25.2 to v3.1
- on Windows use python installed on the host instead of embedded python obtained via vcpkg because embedded python lacks pip, which we need to obtain numpy
- on Windows add MSYS2 to the PATH so that bazel tools can access MSYS2 GIT
- add support for custom CA certificates when using HTTPS_PROXY

* fix execute process macro
The existing implementation totally screwed up commands if the command's arguments contained semicolons (this is the case, e.g., in the FindPython modules of the cmake distribution).

* extend overriden execute_process to more than one COMMAND as there actually are use cases for this

* added another patch required for tensorflow v2.3, fixed path and working directory

* Revert "incorporate changes from microsoft:master"

* Revert "Revert "incorporate changes from microsoft:master""

* final fixes for static build + improving out messages

* enabling linux and osx in CI to see if it works now

* simplified code, fixed version numbers, fixed generated include cmake file

* fix failing postbuild check on handcrafted empty dummy library by spreading the last real libraries contents over the required number of libraries

* remove dead code commit by mistake again

* improvements from code review

* cleaner fix for debug code

* find pip3 in PATH (PYTHON3_DIR apparently not valid for pip3)

* fix error in python helper script

* fix wrong libname in postbuild script

* fix python detection + switch to python on msys2 (instead of embedded python) for Windows as we need numpy

* fix order of arguments

* fix command (it may contain spaces such as C:\Program Files\...)

* revert last commit (root cause for CI failures is something different: there are line breaks in path)

* fix regex comparision
(value needs to be escaped as it may contains regex special characters such as brackets, eg C:/Program Files (x86)/...)

* fix linebreaks in generated file

* fix CRT linkage
(macOS doesn't support static CRT linkage; it's set to dynamic even static target triplets for macOS and linux)

* refactor implemenation to avoid as much code duplication as possible -- algorithmically identical

* fix version numbers in helper scripts

* enable work-around for Windows until bazel fix is available

* install missing python3-pip on linux

* fix linux build by patching

* apply timeout feature now available via merged master branch

* correct linux build patch

* improve debug build patches
(no functional difference because LOG(FATAL, ...) macro internally anyway calls abort(), which the compiler doesn't detect in debug mode...

* improve linux patch

* temporarily add debug to inspect what's going on on macOS CI

* remove temporary debug code and fix static linking scripts for linux and macOS

* fix regex escaping

* fix ambiguous match while grepping for the framework link command

* extend fix of ambiguous match while grepping for the framework link command

* fix what merge of master broke

* fix more what got broken by merging master
(all packages and their dependencies are now maintained manually instead of using pacman...)

* remove "unofficial" from filename

* added switch do distinct classic and manifest mode when generating config.cmake file

* create symlinks for libraries without version number

* fix linux postbuild script

* temporarily disable code making problems

* add note for linking on Linux and macOS

* forget to add README file in previous commit

* add file forgotton in macro fixing patch

* fix python library path

* fix macOS static link command

* update linkage instructions in README

* Update ports/tensorflow-cc/CONTROL

* Update ports/tensorflow-cc/portfile.cmake

* Update scripts/ci.baseline.txt

* use vcpkg_execute_required_process

* pass C_FLAGS and CXX_FLAGS to bazel

* fix INTERFACE_INCLUDE_DIRECTORIES

* fix optional c/cxx arguments

* also add linker opts

* update README

* merge static libs into one
to support force_load (cannot force_load both due to duplicate symbols)

* update README

* quote python path (it might contain spaces that don't get escaped inside outer quotes of bash command)

* fix python path also for static build

* add arm(64) as currently unsupported arch

* bazel 3.7 is available -> remove workaround

* update README, remove necessary c-ares from deps

* update msys package

* add uwp specific options, and minor general improvements

* fix string replace

* fix control file and windows path separator

* revert backslashes-fix -- the root cause was missing .exe extension

* upgrade to tf 2.3.1

* fix hard-coded version

* remove uwp work-in-progress code so that PR can be merged

* update README and print out usage info in portfile

* Update ports/tensorflow-cc/README-linux

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/README-linux

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/README-linux

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/README-linux

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/README-linux

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/README-windows

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/portfile.cmake

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* improve usage hints as discussed in review

* add comment

* apply changes from review

* make additional compiler / linker args space-proof

* Update ports/tensorflow-cc/README-macos

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/tensorflow-cc-config-shared.cmake.in

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/tensorflow-cc-config-shared.cmake.in

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/README-linux

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* Update ports/tensorflow-cc/README-macos

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* apply changes from code review

* maybe fix the config files

* rob.maynard CRs

* fix windows static lib naming for first part

* Update ports/tensorflow-cc/generate_static_link_cmd_windows.py

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* apply rob maynards 1st suggestion

* nicole CRs

* format/fix-compile

* fix missing string termination

* prefer IMPORTED_LOCATION over IMPORTED_LOCATION_RELEASE to have default fall-back

* hopefully fix the issue where no libraries are generated

* final stuff

Co-authored-by: Gehweiler <Joachim_Gehweiler@McAfee.com>
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Joachim Gehweiler <joachim@Joachims-iMac.local>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-12 10:15:48 -08:00
Fabien Péan
4b222f8d26
[libigl] Fix dynamic build and enable header-only mode (#14376)
* [libigl] Fix dynamic build and enable header-only mode

* Update portfile.cmake

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-11-11 16:48:07 -08:00
eao197
54d35841b4
RESTinio updated to v.0.6.12. (#14496) 2020-11-11 15:40:24 -08:00
Billy O'Neal
8a9335d90d
Baseline fixes for 2020-11-07 (#14493)
redist-plus-plus: Remove some "passing, remove from fail lists"

ignition-msgs*: Nicole is working on fixing these here: https://github.com/microsoft/vcpkg/pull/14399
2020-11-11 15:34:11 -08:00
Julien Bernard
8cc884534b
update to 0.18.1 (#14482) 2020-11-11 15:33:38 -08:00
Jack·Boos·Yu
2c94072bb4
[libxslt] Fix install tools and pkgconfig (#14476)
* [libxslt] Fix install tools and pkgconfig

* [libxml2] install pkgconfig
2020-11-11 15:28:09 -08:00
Seeker
3b910eca57
[xeus] update to 0.24.3 (#14455) 2020-11-11 15:21:15 -08:00
Seeker
966efe0196
[xsimd][xtensor][xtl] Update to latest (#14454)
* [xsimd] update to 7.4.9

* [xtensor] update to 0.21.9

* [xtl] update to 0.21.9
2020-11-11 15:20:37 -08:00
NancyLi1013
0abdaf5c9d
[netcdf-c] Fix linkage error (#14421) 2020-11-11 15:19:56 -08:00
Lily
53b9f6eb5c
[paho-mqtt] Update to version 1.3.5 (#13680)
* [paho-mqtt] Update to version 1.3.5

* [paho-mqtt] Fix build error

* [paho-mqttpp3] Fix build error

* [paho-mqttpp3] Fix build error

* [paho-mqttpp3] Fix build error

* [paho-mqtt] Fix old patch

* [paho-mqtt] Add vcpkg_copy_tools

* [paho-mqtt] Fix build error
2020-11-11 15:18:34 -08:00
Ian Ormesher
6a7a309ab8
[onnxruntime-gpu] Add port for onnxruntime (GPU) (#14481)
* feat: Add the port for onnxruntime-gpu
This port uses the binaries created by Microsoft for the onnxruntime
which will run with a GPU.

* Update ports/onnxruntime-gpu/portfile.cmake

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

Co-authored-by: Ian Ormesher <ian.ormesher@zeiss.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-11-11 13:38:58 -08:00
Rodrigo Hernandez Cordoba
8ce7b41302
[v8] Update v8 to current stable version: 8.6.395.17 (#13355) 2020-11-11 09:50:36 -08:00
OgreTransporter
5746100fdc
[libosmscout] Add new port (#14485)
* [libosmscout] Add new port

* [libosmscout] Update manifest format

* Update ports/libosmscout/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Qt feature removed due to problems with various configurations.

* Change of line ends from Windows to Linux

* Disable ARM, UWP and static

* Update support tag

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-11-11 09:01:03 -08:00
NancyLi1013
2c3ded4797
[openssl] Remove unused patches (#14477)
* [openssl] Remove unused patches

* Update ports/openssl/CONTROL

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-11 08:57:58 -08:00
Alexander Neumann
8de4ee858f
[vcpkg/scripts] Add a way to get cmake compiler settings/flags (#12936)
* add function get_cmake_vars

* fine tuning.

* apply to make based ports.

* add log suffix on not windows platforms

* fix c&p error

* add previous LINK env

* setup env on windows and extract cpp flags correctly.

* Apply suggestions from code review

* commit changes from fontconfig PR

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>

* cleanup docs

* add conversion from somelib.lib to -lsomelib

* add missing ar-lib wrapper

* small but important regex correction

* add latest changes from update_fontconfig PR

* Apply suggestions from code review

first set which don't need special attention

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* Apply suggestions from code review

one more simple change

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* [x264] set env AS

* fix bugs due to refactor

* use subpath everywhere

* apply changes from CR

* remove unnecessary lines 41 & 44

* remove flag transformation

* reintroduce the flag / to - transformation for MSVC

* Apply suggestions from code review

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* rename the function

* rename function/variables

* transform flags list

* Apply suggestions from code review

* fix vcpkg_build_make due to the variable name change

* fix another case of function renaming regressions

* only rename config.log if it exists

* actually add the script after vcpkg_common_functions was deleted.

* remove setting of ldflags if path contains spaces

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-11-10 09:52:02 -08:00
NancyLi1013
202ada4fcf
[netcdf-cxx4] Export cmake targets (#14405)
* [netcdf-cxx4] Update to latest commit and also export targets file

* Revert the update to latest commit and make a patch to export cmake targets

* Revert the changes in fix-dependecy-hdf5.patch
2020-11-10 09:37:13 -08:00
cbergemann
b24be705e9
[libflac] require NASM for libflac[asm] (#14465)
* require NASM for libflac[asm]

* Increment port version number

* Update ports/libflac/portfile.cmake

Co-authored-by: BergemannC <CBergemann@nordex-online.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-10 09:34:50 -08:00
Jack·Boos·Yu
74844c7546
[libmysql/libmariadb] Export unofficial cmake targets (#14290)
* [libmysql/libmariadb] Add vcpkg-cmake-wrapper and usage

* [libmysql] Export target unofficial-libmysql

* [libmariadb] Export target unofficial-libmariadb

* Add conditions

* Remove empty folder

* [libmysql] Enable static build, generate library mysqlclient

* Update ports/libmysql/CONTROL

* [libmysql] Re-write portfile.cmake

* [vcpkg_clean_executables_in_bin] clean up the pdbs

* [libmysql] Fix tools on non-Windows

* [libmysql] Fix tools, fix wrapper

* [libmysql] Add macro libmysql_FOUND

* [vcpkg_clean_executables_in_bin] Revert changes

* [libmysql] Export unofficial-libmysql on both dynamic and static

* Update ports/libmariadb/export-cmake-targets.patch

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-11-10 09:28:45 -08:00
Christian Fersch
19fe942c13
Add support for llvm-objdump to applocal.ps1 (#11898)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-09 16:47:21 -08:00
Phoebe
254bd8fe89
[aws-sdk-cpp] Update to 1.8.83 (#14479) 2020-11-09 15:27:51 -08:00
Rayan
f9fd4b13ea
[libcuckoo] Update version to v0.3 (#14462)
* update libcuckoo version to v0.3

* Update ports/libcuckoo/CONTROL

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

* Update ports/libcuckoo/CONTROL

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

* Update ports/libcuckoo/portfile.cmake

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

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-11-09 15:21:34 -08:00
Long Nguyen
9336ae3df6
[szip, openssl] Fix problems with mingw (#14460)
* [openssl] Use the unix portfile when building with mingw

* [mingw triplets] Add architecture check exceptions for szip
2020-11-09 15:21:03 -08:00
Lily
4ebf188da4
[sdl2pp] Update to 0.16.1 and fix find_package error (#13300)
* [sdl2pp] Fix find_package error

* [sdl2pp] Update to version 0.16.1
2020-11-09 14:57:39 -08:00
Jon Spencer
6ba00186b1
[sdl2] apply upstream patch to fix macos vulkan (#14417) 2020-11-09 14:52:42 -08:00
socuwn
6b935b7cd3
[opencascade] update debug paths in *Targets-debug.cmake (#14435)
* [opencascade] replace libd with lib and bind by bin in *Targets-debug.cmake

* updated to port-version 1
2020-11-09 14:50:53 -08:00
Twice
10c38371cb
[protopuf] Add a new port protopuf (#14446)
* [protopuf] add new port

* [protopuf] fix sha512

* [protopuf] add homepage & fix typo

* [protopuf] format manifest
2020-11-09 14:46:44 -08:00
Seeker
88cf043358
[alembic] update to 1.7.16 (#14447)
* Update CONTROL

* Update portfile.cmake

* Update portfile.cmake
2020-11-09 14:39:39 -08:00
Odysseas Georgoudis
0642ac4c1f
[quill] update to 1.5.2 (#14448) 2020-11-09 14:39:27 -08:00
Seeker
e4a4639047
[bond] update to 9.0.3 (#14450)
* Update CONTROL

* Update portfile.cmake
2020-11-09 14:38:53 -08:00
Seeker
32df14e1c8
[zstr] update to 1.0.4 (#14452) 2020-11-09 14:38:37 -08:00
Seeker
e903145631
[yas] update to 7.0.5 (#14453) 2020-11-09 14:38:21 -08:00
Seeker
09936462df
[wepoll] update to 1.5.8 (#14456) 2020-11-09 14:37:55 -08:00
evpobr
9889c6e3bc
[mpg123] Upgrade to 1.26.3 (#14444)
* Update to the newest version
* Convert `CONTROL` to `vcpkg.json`
* Use `vcpkg_install_msbuild()` instead of deprecated
  `vcpkg_build_msbuild()`
2020-11-09 14:37:28 -08:00
Johannes Rave
e9caa9b76f
[krabsetw] Update to 4.1.14 (#14443) 2020-11-09 14:36:04 -08:00
Michael Hansen
0defb733c7
[string-theory] Update to 3.4 (#14439) 2020-11-09 14:35:43 -08:00
Long Nguyen
1b59ca067c
[libffi] mingw support (#14407) 2020-11-09 14:34:34 -08:00
NancyLi1013
1b5e00a3e3
[caf] Add usage and vcpkg-cmake-wrapper (#14292)
* [caf] Add usage and vcpkg_cmake_wrapper

* Update usage
2020-11-09 14:24:18 -08:00
nicole mazzuca
a94f261320
[vcpkg] Initial Registries: Part 2 MVP (#14153)
* [vcpkg wip] start implementation of registries pt. 2

* Remove the `ports` field of `VcpkgPaths`

This is an implementation detail, and so we want to make sure that
it's obvious that this is an internal detail; thus, we add a new function
`builtin_ports_directory()`,
which returns the directory where the builtin ports backing store is.

* continue WIP

* wip

* It works!

* format

* fix some issues

* switch from function static to DelayedInit
* fix lexically_normal for experimental::filesystem

* format

* fix missing include

* add STL notice

* whee error handling

* moar error handling!

* ignore extra files in registries

* formatting

* Billy CRs

* Update toolsrc/include/vcpkg/versiont.h

* fix add_filename test

* fix tests

* remove unused function add_filename
2020-11-09 11:15:31 -08:00
Alexander Neumann
179bdd1697
[openssl] Add build depends to deprecated openssl ports (#14457) 2020-11-07 21:48:19 -08:00
Ryan
0144d0c0d0
[span-lite] update to 0.8.1 (#14414)
also converts control file

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-07 21:46:23 -08:00
Adam Johnson
9c56f59ed4
[physx] Add support for Linux, macOS, and UWP (#13849) 2020-11-07 21:43:59 -08:00
Shimon Doodkin
5a97bb2f57
add dataframe of github hosseinmoein/DataFrame (#14351) 2020-11-06 13:36:23 -08:00
Lily
5a95fe218f
[libnice] Fix build error on Linux (#14248) 2020-11-06 13:31:54 -08:00
niclar
0e1252388d
[boost] Update to 1.74.0 (#14089) 2020-11-06 13:30:37 -08:00
Jack·Boos·Yu
eeeea96d9a
[osg-qt] Fix installation when building static on Windows (#14422) 2020-11-06 13:21:53 -08:00
Bill Avery
a4853da4df
[cppgraphqlgen] Update to v3.2.4 (#14416)
* [cppgraphqlgen] Update to v3.2.4

* Suppress tool install for debug
2020-11-06 13:21:13 -08:00