aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-11-13[vcpkg baseline] Clean up baseline, use Keyword Supports Part 1 (#14245)Jack·Boos·Yu
* [vcpkg baseline] Clean up baseline, use Keyword Supports * Update ports/arrow/CONTROL
2020-11-12[llvm] install tools in tools/llvm (#14399)nicole mazzuca
* [llvm] install tools in tools/llvm * remove the giant commented out block of code * update port-version * hopefully fix the port? There are still some issues, namely that the python scripts and DLLs that are copied into `tools/llvm` are not considered to be "installed by llvm", and thus are not removed when llvm is removed * format! * apparently REGEX REPLACE fails if a thing doesn't match * fix LLVM_REMOVE_EXTENSION_REGEX on windows * actually read the cmake regex docs... * fix the name of the variable * turns out CMAKE_MATCH_1 is the one I want * need to update VERSION for new policy * stop removing debug/bin * fix faulty merge
2020-11-12[3fd] Update to 2.6.3, fix port (#14528)nicole mazzuca
* [3fd] Update to 2.6.3, fix port * update baseline * JackBoosY CRs Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-11-12[ampl-mp] Update version, separate port ampl-asl and fix arm build (#14518)Jack·Boos·Yu
* [ampl-asl] Separate port ampl-mp module asl to ampl-asl * [ampl-mp] Update version, separate port ampl-asl and fix arm build * update baseline * [VMSS] Pre-install ampl-mp:x86-windows * Update ports/ampl-asl/portfile.cmake
2020-11-12[vcpkg] Add x-ignore-lock-failures (#14397)nicole mazzuca
* [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[tensorflow-cc] More or less completely rewritten port, update to 2.3.1 (#13028)Joachim Gehweiler
* 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-11Baseline fixes for 2020-11-07 (#14493)Billy O'Neal
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-10[vcpkg/scripts] Add a way to get cmake compiler settings/flags (#12936)Alexander Neumann
* 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-09Add support for llvm-objdump to applocal.ps1 (#11898)Christian Fersch
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-07[physx] Add support for Linux, macOS, and UWP (#13849)Adam Johnson
2020-11-06[libnice] Fix build error on Linux (#14248)Lily
2020-11-06[boost] Update to 1.74.0 (#14089)niclar
2020-11-06[osg-qt] Fix installation when building static on Windows (#14422)Jack·Boos·Yu
2020-11-05[rhash] Update to the latest version (#13658)Lily
2020-11-05[vcpkg] copy tools pdb if they exist. (#14396)Alexander Neumann
2020-11-05[vcpkg, azure-macro-utils-c] Fix SHA and add FILE_DISAMBIGUATOR for ↵Billy O'Neal
vcpkg_from_github (#14343)
2020-11-03[tool-meson] Update to 0.56.0 (#14344)Wolfgang Stöggl
2020-11-03[vcpkg] Disable vcpkg_copy_tool_dependencies on non-Windows (#14366)Billy O'Neal
2020-11-02[vcpkg] Add tab completion for Fish (#14206)Jared Irwin
2020-11-01[vcpkg] Fix incorrect determination of PowerShell not found (#14317)Billy O'Neal
* Fix incorrect determination of PowerShell not found because Bill doesn't know enough CMake :( Resolves #14283
2020-10-30Add compiler executable name into toolchain file (#14269)Long Nguyen
2020-10-30[vcpkg] Support cross compile arm64-linux, arm-linux triplets on linux (#13374)xyb
x86_64 host.
2020-10-30[ocilib] Update to 4.7.0 (#13158)JonLiu1993
2020-10-28[vcpkg baseline] [vs-yasm] Build yasm instead of downloading it to work ↵Billy O'Neal
around memory corruption bugs in yasm itself. (#14003)
2020-10-28[boost] Enable Boost building with wasm32-emscripten (#14102)stoperro
2020-10-28Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065)Billy O'Neal
2020-10-27[vcpkg, jsonnet, openssl-uwp] Enable use of the system powershell-core if it ↵Billy O'Neal
is present. (#13805)
2020-10-27[folly/fizz/wangle/proxygen/fbthrift] Update to latest revision (#13701)Phoebe
2020-10-27Serialize deployBinary on target directory (#11363)Thomas Gwynne-Timothy
2020-10-27[vcpkg] Always publish failure logs, even on success. (#14260)Billy O'Neal
This way we get failure logs for things excluded by ci.baseline.txt in the nightly builds.
2020-10-26[lcm] Fix build error on Linux (#14147)Lily
2020-10-26[vcpkg] Fix more cases of semicolon mishandling in "scripts" - follow-up to ↵Joachim Gehweiler
PR #12926 (#13968)
2020-10-26[vcpkg] Implement versions db generator (#13777)Victor Romero
* [vcpkg] Add script to generate ports versions history * [vcpkg] Fix formatting * Fetch port versions from commit ID * Use global --x-json switch * Use --no-checkout when cloning secondary instance * Clone from local repository instead of from GitHub * Use CmdLineBuilder to build git commands * Use CmdLineBuilder and reduce repeated code * Fetch version at baseline and code cleanup * Guess version scheme from old CONTROL files * Rename version db generator script * Simplify x-history json output * Use CONTROL/manifest parsers on x-history * Use git-tree instaed of commit-id * Remove 'ports' field from root object * Clean up code * More code cleanup * Improve port version detection * Improve generator logging * Do not ignore parsing errors in CONTROL files * PR review comments in Python script * Fix subprocess.run() calls * Make `canonicalize()` return error instead of terminating * [vcpkg] Add tests for new test_parse_control_file paths * Remove unnecessary std::move() calls * Fix formatting * Python formatting Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-25[vcpkg] update msys-libiconv version (#14220)Ludwig Chieng
link to previous version 1.16-1 does not exist anymore
2020-10-24[Many Ports] Baseline Fixes for 2020-10-24 CI Build (#14208)Billy O'Neal
* [libp7client, libp7-baical] Combine identical ports and update to libp7client 5.6. In a recent CI build, we started getting output like: Installing package libp7-baical[core]:x86-windows... The following files are already installed in C:/Dev/vcpkg/installed/x86-windows and are in conflict with libp7-baical:x86-windows Installed by libp7client:x86-windows bin/P7x32.dll bin/P7x32.pdb debug/bin/P7x32d.dll debug/bin/P7x32d.pdb include/P7/GTypes.h include/P7/P7_Client.h include/P7/P7_Cproxy.h include/P7/P7_Extensions.h include/P7/P7_Telemetry.h include/P7/P7_Trace.h It turns out that these ports are identical, they are just different versions of the same library. The libp7-baical version supported more platforms and was simpler, so took that one and updated it to a current version. * [ignition-modularscripts, ignition-msgs1] Attempt to fix intermittent build failures by disabling parallel configure. * Fix several "passing: remove from fail list." * [akali] Disable parallel configure. REGRESSION: akali:x64-windows. If expected, add akali:x64-windows=fail to .\scripts\ci.baseline.txt. Attempts to fix: CMake Error: Could not open file for write in copy operation C:/Dev/vcpkg/buildtrees/akali/src/fc94eb83a9-01654d3f7c.clean/include/akali_config.h.tmp CMake Error: : System Error: Permission denied CMake Error at CMakeLists.txt:20 (configure_file): configure_file Problem configuring file * [nvtt] Devendor libsquish This was regressed by https://github.com/microsoft/vcpkg/pull/13674 REGRESSION: nvtt:x64-linux. If expected, add nvtt:x64-linux=fail to .\scripts\ci.baseline.txt. REGRESSION: nvtt:x64-osx. If expected, add nvtt:x64-osx=fail to .\scripts\ci.baseline.txt. REGRESSION: nvtt:x64-windows-static. If expected, add nvtt:x64-windows-static=fail to .\scripts\ci.baseline.txt. REGRESSION: nvtt:x64-windows. If expected, add nvtt:x64-windows=fail to .\scripts\ci.baseline.txt. Installing package nvtt[core]:x64-linux... The following files are already installed in /mnt/vcpkg-ci/installed/x64-linux and are in conflict with nvtt:x64-linux Installed by libsquish:x64-linux debug/lib/libsquishd.a include/squish.h lib/libsquish.a * [knet] Disable parallel configure. REGRESSION: knet:x64-windows. If expected, add knet:x64-windows=fail to .\scripts\ci.baseline.txt. CMake Error at src/CMakeLists.txt:1 (configure_file): configure_file Problem configuring file * [libnice] Diable parallel configure. REGRESSION: libnice:x64-windows. If expected, add libnice:x64-windows=fail to .\scripts\ci.baseline.txt. CMake Error at CMakeLists.txt:13 (configure_file): configure_file Problem configuring file
2020-10-23Print more verbose compiler detection info (#14188)Eric Kilmer
2020-10-23[vcpkg_find_acquire_program] Fix SWIG on non-Windows platforms. (#13953)Adam Johnson
Previously, the sourceforge downloader was attempting to download a mixture of the Windows URL with an incorrect extension, causing a cascade of HTTPS download failure messages. Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-10-21[vcpkg] Vcpkg appinstall deps fixes (#14129)Sander Cox
2020-10-21[libp7-baical] Fix build error (#13540)NancyLi1013
2020-10-20[ptex] Fix build on *inx (#14142)Jack·Boos·Yu
2020-10-20[freetds] Update to v1.2.5 and update source to github. (#14120)Billy O'Neal
2020-10-20[libvorbis] MinGW build fix (#14050)Trider12
2020-10-19[CMake] VCPKG_APPLOCAL_DEPS sometimes causes conflicts when processing ↵Sander Cox
multiple files in the same directory (#13025) Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-19[cmake] upgrade to 3.18 (#12612)Stefano Sinigardi
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-10-17[vcpkg] CMAKE_SYSTEM_PROCESSOR is missing if VCPKG_TARGET_ARCHITECTURE is ↵xyb
arm or arm64. (#13465) This change tries to fix issue #13395. Root cause: In script mode, cmake won't populate CMAKE_SYSTEM_PROCESSOR parameter automatically. That parameter is required by libpng to configure build parameters. To fix this issue, we need explicitly set CMAKE_SYSTEM_PROCESSOR value. Verify: On arm64-linux host, run `./vcpkg install tesseract:arm64-linux`.
2020-10-17[vcpkg_common_definitions] Add macro VCPKG_HOST_IS_<target> (#13730)Jack·Boos·Yu
* [vcpkg_common_definitions] Add macro VCPKG_HOST_IS_<target> * Update scripts/cmake/vcpkg_common_definitions.cmake
2020-10-17[qt5] Update to 5.15.1 (#13477)Alexander Neumann
* update everything. Let ci test if just updating is enough * fix some minor version details. * remove upstream patch * add zstdd patch and do not remove zlib since it is required for bootstrapping * add mqtt hash * webengine hash * add fixup pkgconfig to assimp * add assimp to qt-3d (still requires zlib fix) * setup pkg-config for qt * fix psql detection in configure * fix build details * fix assimp library nameing * -rpath option is not available for static builds * move config log somewhere where CI can catch it. * move logs only if they exists * append bzip2 qt-3d * break qt3d again to get logs * retry qt3d * remove qt-3d failure. everything ok now * add assistent patch for qt5-tools not building qthelp * remove unnecessary qt5-webengine patches * Remove PSQL_TYPES * [qt5-3d] remove irrxml as a assimp dep * remove unnecessary patch * fix qt-3d on windows * fix qt5-3d linux Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-10-17[antlr4] update to 4.8 (#14036)Akihisa Yagi
* [antlr4] update to 4.8 * [antlr4] Add supports * [antlr4] Regenerate patch files * [antlr4] Remove spaces from patch files Co-authored-by: wangli28 <wangli28@beyondsoft.com>
2020-10-15[vcpkg/cmake] add LOGNAME option (#14002)Alexander Neumann
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2020-10-14[chakracore,gamma,libopenmpt,portaudio,usrsctp] Fix baseline for 2020-10-14 ↵Billy O'Neal
(#14054) * [portaudio] Remove from baseline, fix CRT linkage and mark UWP as unsupported. portaudio was fixed by https://github.com/microsoft/vcpkg/commit/654adc64b36607aff14f614387eb904d64faec2b * [chakracore] Remove passing case from baseline and add Supports. PASSING, REMOVE FROM FAIL LIST: chakracore:arm64-windows (.\scripts\ci.baseline.txt) * [gamma] Remove from baseline. PASSING, REMOVE FROM FAIL LIST: gamma:x64-linux (.\scripts\ci.baseline.txt) This was blocked by portaudio before. * [usrsctp] Remove baseline PASSING, REMOVE FROM FAIL LIST: usrsctp:arm-uwp (.\scripts\ci.baseline.txt) PASSING, REMOVE FROM FAIL LIST: usrsctp:x64-uwp (.\scripts\ci.baseline.txt) Probably fixed by https://github.com/microsoft/vcpkg/commit/16b68c2f35771c250b354248f11015f9def2a89b * [libopenmpt] Fix build on recent msvc by backporting deaf2e3837fb08b1a53fd21bb53adbafe0a84e7d https://github.com/OpenMPT/openmpt/commit/deaf2e3837fb08b1a53fd21bb53adbafe0a84e7d * [chakracore] Also needs dynamic universe.