Commit Graph

8 Commits

Author SHA1 Message Date
JAEHONG KIM
ac68eb6048
[tensorpipe] Fix build failure test features (#32346)
* [tensorpipe] Change old target name

* [tensorpipe] Update baseline

* [tensorpipe] Modify patch file

* [tensorpipe] update version

* [tensorpipe] add unofficial prefix

* [tensorpipe] add unofficial namespace
2023-07-10 17:41:10 -07:00
JAEHONG KIM
cb7d3b4999
[libuv] Update to 1.45.0 (#32165)
* [libuv] Update to 1.45.0

* [libuv] Update all consuming ports

* [libuv] Update versions

* resolve port SHA

* Add port-version

* update version

* revert usockets.json

---------

Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
2023-06-27 17:07:58 -07:00
Mengna Li
eb8e75bb4f
fix build error (#30949) 2023-04-18 20:26:40 -07:00
Park DongHa
d8c61f7fbf
[libtorch] create a new port (#17199)
* [onnx] feature: foxi

* https://github.com/houseroad/foxi
    * install the project's copyright (MIT)
* pytorch requires `foxi_loader`

The CMake target will be renamed to `onnxifi_*` for convenience.

* [onnx] force onnx/onnx_proto static in Windows

Checked the protject's CI logs.  It turned out onnx/onnx_proto are ALWAYS static.
Specify it in CMakeLists.txt because vcpkg configures `BUILD_SHARED_LIBS=ON`
If the triplet requires it.

There are no `ONNXIFI_ENABLE_EXT=ON` case.
Removed the misused build options in portfile.

Add port feature `protobuf-lite` which is in build option.

* [onnx] support windows static triplets

* remove SHARED for `onnxifi_wrapper` and `onnxifi_dummy`

* [onnx] fix wrong LICENSE install

* [onnx] remove feature 'foxi'

* also remove redundant part in patch files

* [libtorch] rework patch files

* [libtorch] config fixup ATen, Torch

* use `link_libraries` to vcpkg installed folder
  * future work may use library names without `find_library`
* update versions JSON to use `version-semver`

* [libtorch] make shared only

* Caffe2 is exported when BUILD_SHARED_LIBS

* [libtorch] remove headers after install

* [libtorch] rewrite patches and feature options

* checked osx / linux build

* [libtorch] use eigen3 always

* Caffe2 eigen_utils.h requires it

* [libtorch] error if BLAS feature collision

* [libtorch] remove !static

* [libtorch] replace vcpkg_find_acquire_program

* let's see python3 from find_program supports

* Dependency python3

* [libtorch] migrate works from luncliff/vcpkg-registry

* Update target version and dependencies
* Removed unsupported features

* [libtorch] misc fix, update version, baseline

* fix merge confict for 'onnx'

* [libtorch] install pip packages

* typing-extensions, pyyaml

* [libtorch] turn off Metal options

* [onnx] revert 'onnx' changes

* [libtorch] refine patches

* [libtorch] link with foxi_loader

* removed wrong onnx related source changes

* [libtorch] update git-tree

* [libtorch] reduce patch size

* [libtorch] find numa and activate USE_NUMA

* Update ports/libtorch/portfile.cmake

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

* Update ports/libtorch/portfile.cmake

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

* Update ports/libtorch/portfile.cmake

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

* [libtorch] fix mistype and update version JSON

* Add double quotes

* version

* Fix support expression

* version

* [libtorch] update cpuinfo usage

* https://github.com/microsoft/vcpkg/pull/23944
* update version

* [tensorpipe] fix linux install

* find_package(Tensorpipe) may fail because of case mismatch

* [tensorpipe] update versions JSON

* [libtorch] fix feature failures

* [libtorch] remove CUDA feature

* [libtorch] giveup 'fbgemm' feature

* [libtorch] use mpi, openmpi in Linux

* [libtorch] fix glog link error

* [tensorpipe] bump port version

* see https://github.com/microsoft/vcpkg/pull/23569

* [libtorch] fix patch list

* [libtorch] use official libuv config

* see https://github.com/microsoft/vcpkg/pull/24745

* Update ports/libtorch/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Update ports/libtorch/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* update versions JSON

* revert unnecessary 'nnpack' changes

* Update ports/libtorch/portfile.cmake

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>

* [libtorch] use vcpkg-get-python-packages

* [libtorch] provide path of python3

* Update ports/libtorch/portfile.cmake

Co-authored-by: Billy O'Neal <bion@microsoft.com>

* Fix version database.

* [libtorch] use openmpi in linux/osx

* [libtorch] update to v1.12.1

* [libtorch] find_program(python3, python)

* [libtorch] provide PYTHON_EXECUTABLE directly

* [xnnpack] update to 2022-02-17

* [xnnpack] use C11, C++11

* [libtorch] more patches, DISABLE_PARALLEL_CONFIGURE

* [libtorch] allow static torch_cpu build

* Revert "[libtorch] allow static torch_cpu build"

This reverts commit 5fd4ef0bbe.

* [libtorch] find_package(BLAS)

* [libtorch] simplify Python3, NumPy option use

* [libtorch] fix install in Windows

* [libtorch] exclude torch_global_deps in Windows

* [libtorch] platform of nnpack feature

* [libtorch] fix MPI option in Windows

* [libtorch] fixing LNK1161

* [libtorch] fix some mistypes

* [libtorch] define NOMINMAX for c10

* [libtorch] disable vulkan feature in Windows

* ci.baseline.txt: allow libtorch failure

* fails with Visual Studio 2022 17.4.2
* requires 17.4.3+

* Enable testing port on Windows

* [caffe2] redirect to libtorch

* update baseline

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2023-01-18 11:06:34 -08:00
JonLiu1993
72ef222e77
[libuv] update to 1.44.1 and use official CMakeLists (#24745)
* [libuv] update to <1.44.1>

* update version

* fix ci error

* update version

* fix-ci-error

* [libuv] update to <1.44.1>

* update version

* add patch

* update version

* add option

* update version

* delete patch

* update evrsion

* fix ci error

* update version

* delete patch

* update evrsion

* Use official CMakeLists.txt

* Fix build type

* Re-fix, fix pkgconfig

* Fix usocket build

* Fix uvw build

* Fix wpilib build

* Fix cmake build

* Fix tensorpipe build

* Fix qpid-proton build

* modern portfile

* update version

* Add licese

* update version

* Update ports/usockets/CMakeLists.txt

* update version

* Add usage

* Apply suggestion

* version

* Disable to build examples

* version

* typo

* version

* Fix find_package

* version

* Update version

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2022-07-08 13:02:45 -07:00
Park DongHa
b34ae2aff5
[tensorpipe] update to latest (#23569)
* [tensorpipe] version update

* update patch files
* support find_package for https://github.com/microsoft/vcpkg/pull/17199

* [tensorpipe] update versions JSON

* [tensorpipe] use mainstream PR

* rename existing patch files
* update versions JSON

* [tensorpipe] update license

* [tensorpipe] fix patch's SHA512 value

* Add cuda-nvml-dev-11-6 to VMs.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-17 23:57:56 -07:00
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
Park DongHa
c76ec6f7f7
[tensorpipe] create a new port (#16472)
* [tensorpipe] create a new port

* [tensorpipe] create patch for libuv

* [libnop] create a new port

* [libnop] update baseline and port SHA

* [tensorpipe] fix header/target install

* [tensorpipe] remove support of Windows/UWP

* [tensorpipe] update baseline and port SHA

* Update ports/tensorpipe/portfile.cmake

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

* Update ports/tensorpipe/portfile.cmake

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

* [tensorpipe] support 'test' feature for Linux

* it will be helpful to check output binaries are valid
* update code snapshot(2021/03/02) and port SHA

* [tensorpipe] fix build failures in Linux

* TC for 'ibv' failes
* link with CMAKE_DL_LIBS for <dlfcn.h>

* [tensorpipe] apply PR feedback

* [tensorpipe] update version-date and patches

* [tensorpipe] FATAL_ERROR if feature requires Linux

* [tensorpipe] reduce features and code base

* simplify features
* fix `pybind11` build failures
* updates source code base and CMake export file names
* use GNUInstallDirs variable

* [tensorpipe] update baseline

* [tensorpipe] update support

* use more correct "support" exporession

* [tensorpipe] fix Linux/CUDA test options

* [tensorpipe] fix corrupted patch

* [tensorpipe] fix wrong support expression

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-05-17 23:03:33 -07:00