Commit Graph

32 Commits

Author SHA1 Message Date
Kai Pastor
edd3db2e3b
[libffi] Use upstream's build system (#33203)
* [libffi] Use upstream's build system

* WIP [skip actions]

* WIP [skip actions]

* WIP [skip actions]

* Finish libffi

* Fix downstream lookup

* Update versions

* [gobject-introspection] Require libffi

* Move DLLs to bin

* [libffi] Usage

* Restore azp

* Fix typo

* CI
2023-08-24 12:51:20 -07:00
Kai Pastor
96bbc0e5e3
[libffi] Fix mingw output name, cleanup (#32381)
* [libffi] Fix output name

* [libffi] Cleanup
2023-07-05 11:25:06 -07:00
Yingwei Zheng
1d26dc852e
[libffi] add risc-v support (#29870) 2023-02-28 10:06:28 -08:00
MSP-Greg
1de5f73060
[libffi] update to 3.4.4 (#27985) 2022-11-29 12:05:22 -08:00
Jamlys Lee
8e1226e40c
[libffi] add misp64 support (#26266)
* [libffi]add mips64 support

* [libffi]update port version

* [libffi]update version database

Co-authored-by: Jamlys Lee <jamlys_lee@163.com>
2022-08-11 18:41:00 -07:00
Thomas1664
d132d128b4
[many ports] Fix cmake warnings (#24706)
* [aubio]

* [bitserializer]

* [crfsuite] Update to 2020-08-27

* format

* [freealut]

* [libe57]

* version

* [libe57] Remove docs

* version

* [libffi]

* [libmodplug]

* [libsodium]

* [libsrtp]

* [libfio]

* [ned14-internal-quickcpplib]

* version string

* version

* version

* [matio] Update to 1.5.23

* [matplusplus] Update to 1.1.0

* [pystring]

* [rdbl]

* [recast]

* [restinfo]

* [sockpp]

* [sziü]

* [taglib]

* [thor]

* [workflow]

* version

* [Forkflow] Fix typo

* version

* [pystring] license

* version

* license

* version

* [sockpp]

* version

* [refl-cpp]

* [pixel] Fix synthax warning

* version

* [matplotplusplus]

* version

* license

* version

* [szip, workflow] Remove docs

* version

* license

* version

* [szip] Fix license install

* version

* [matplotplusplus] Revert update

* version
2022-05-17 11:15:06 -07:00
Stefano Sinigardi
eff88baadc
[x64-windows-release] add a single config community triplet based on x64-windows and make it work on some ports (#15983)
* add a single config community triplet based on x64-windows

* add a failed port, otherwise mechanism does not support empty list

* add failures to baseline

* remove duplicate entry

* second round of failures added to baseline

* third round of regressions added to CI

* [ade] fix single-config builds

* [ade] update refs

* remove duplicate entries

* [unix2dos] restore eol in script file

* add even more ports now failing in singleConfig...

* [libjpeg-turbo] remove unnecessary check

* [libjpeg-turbo] fix references

* [baseline] restore check for ports that were added recently

* [libmodplug] enable single config triplets

* [tensorflow-common] enable single config triplets

* update baseline

* fix references

* remove wrong check for single config triplets

* fix references

* [ogre] fix single config builds

* [ogre] fix references

* [untested] force x64-windows-release as host triplet when testing x64-windows-release in CI

* fix

* [x264] fix for single config

* [x264] update refs

* [libffi] enable single config builds

* [libffi] update refs

* remove cli broken arguments

* [calceph] enable single-config builds

* [calceph] fix references

* [kf5config] enable single-config builds

* [kf5config] fix references

* [detours] enable single-config builds

* [detours] fix references

* [kf5*] enable single-config builds

* [kf5*] fix references

* fix

* kf5config fix reference

* trying again to force host triplet in CI

* [boost] fix for single-config builds

* [boost] update references

* fix

* [boost] update refs

* disable host triplet in ci because it's not necessary

* retrigger a build for ports previously failing

* remove host triplet in ci, not necessary anymore?

* make PR dry

* [tensorflow-common] bump version

* [tensorflow-common] fix references

* Fix version database for boost-modular-build-helper.

* fix references

* restore CRLF on some ports

* bump versions

* fix references

* bump port versions

* fix references

* boost-modular-build-helper: Reverted due to no changes.

detours, kf5config, kf5holidays, libbacktrace: Reverted due to only whitespace changes.
libffi: bumped port-version
libmodplug: reverted due to no functional changes
ogre, ogre-next: reverted due to incorrect case of "Debug" vs. "Release" already fixed in master.

And rebuilt version database.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-12-20 10:50:45 -05:00
Lars Glud
92770f60d0
[libffi] Don't replace string in file that doesn't exist. (#20554)
* Don't replace string in file that doesn't exist.

* Update per bot.

* Update per bot again.

* Address comments.
2021-10-07 03:22:47 -07:00
MidwestB
8127442488
[libffi] Use -llibffi on Windows (#19655)
* Use -llibffi on Windows

Replace -lffi with -llibffi for Windows development, not just mingw

* Update portfile.cmake

* Update baseline.json

* Update libffi.json

* Add port-version and make path quoted

* Update version files

Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-08-30 18:19:44 -07:00
Long Nguyen
3a28333d60
[libffi] Update to v3.4.2 (#18995)
* [libffi] Update to v3.4.2

* [vcpkg baseline] Update libffi

* [libffi] Add i686 as supported processor

* [vcpkg baseline] Update libffi
2021-07-19 12:34:57 -07:00
Jack·Boos·Yu
86d689b230
[libffi] Update patch to fix apply patch failure (#17637)
* [libffi] Update patch to fix apply patch failure

* update version record
2021-05-07 15:35:38 -07:00
autoantwort
45bc3d367a
[libffi] Fix processors (#16285)
* [libffi] fix build on apple silicon

* [libffi] add version files

* [libffi] changes

* [libffi] add version files

* [libffi] Rearrange target conditional list

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-04-02 14:01:50 -07:00
Don Venable
bbcf31b05c
[libffi] Added armv7-a to allowed architectures for Android 32 bit arm builds (#15821)
* Added armv7-a to allowed architectures for Android 32 bit arm builds

Closes #15820

* Fixed typo

* Bumped port version to 7

* Updated libffi version files
2021-02-02 14:36:30 -08:00
Long Nguyen
1b59ca067c
[libffi] mingw support (#14407) 2020-11-09 14:34:34 -08:00
xyb
fdac1fc5aa
Add community triple arm64-linux and arm-linux. (#11880)
Verify the following command on both 32 bits and 64 bits OS on Raspberry pi 3.

    ./bootstrap-vcpkg.sh
    ./vcpkg install boost
2020-09-05 10:45:48 -07:00
Mikhail Paulyshka
98fb277226
[libffi] fix crash in debug (#12498)
* [libffi] fix crash in debug

(cherry picked from commit 78b3f05731556e23ad8f1ef8b168ad99cc1c4a9c)

* Update CONTROL

* [libffi] fix crash in debug (x86-windows)

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: Rolf Gebhardt <rolf.gebhardt@lbs-sw.de>
2020-08-05 15:51:36 -07:00
Wolfgang Stöggl
a05cec95a0
[libffi] Add pkgconfig file (#12126)
* [libffi] Add pkgconfig file

- Configure and add the libffi.pc file.
- Furthermore, enable the check for same 32/64bit-ness in
  libffiConfigVersion.cmake again, which had caused issues in the past
  with newer versions of glib using meson build, e.g. when building for
  x86-windows target on an x64-windows host.
  Now, libffi is found by current glib (e.g. 2.64.3) during
  meson build using the libffi pkgconfig file.

* Check VCPKG_BUILD_TYPE to handle release/debug
2020-07-06 13:40:46 -07:00
derselbst
a4a5c65cc8 [libffi] Check return value of execute_process()
To avoid hiding errors, the return values of the execute_process()
commands should be checked and a fatal error should be issued.
2020-04-08 10:20:44 +02:00
Jack·Boos·Yu
6283a51112
[libffi] Support arm/arm64 (#10485)
* [libffi] Support arm/arm64

* [libffi] Use VCPKG_TARGET_ARCHITECTURE to determine triplet

* [libffi] Use VCPKG_TARGET_ARCHITECTURE in CMakeLists.txt

* update baseline

* re-trigger ci test
2020-04-06 14:17:22 -07:00
driver1998
7d4227f02e
[libffi] Update to v3.3 release (#6119)
* libffi 3.3-rc0 custom port, with arm/arm64 windows support

* fix linux build

* enable EFI64 in linux x64, should fix build errors in some cases

* libffi: move to the arm64 support pr branch

* libffi: move to latest upstream master

* libffi: update to upstream master

* libffi: update to v3.3-rc2

* libffi: update to v3.3 release

* libffi: update version in fficonfig.h

* libffi: Remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [libffi] update portfile.cmake

* [libnice] fix Windows ARM64 build

* CI: set atk:arm64-windows to fail
atk compilation requires running glib(arm64) tools, which is not possible on a x86 system.

* CI: libffi:arm64-windows passing

* [gdk-pixbuf] fix Windows ARM64 build

* [pangomm] show unsupported architecture error on ARM

* [pangomm] update portfile.cmake

* [libffi] Avoid depending on VCPKG_TARGET_TRIPLET; use native cmake variables instead. Avoid double expansion inside if().

* [libffi] TARGET is a keyword for if() -- use quoted expansion instead.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-07 09:36:39 -08: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
Wolfgang Stöggl
41fdef7a16 [libffi] Add libffiConfigVersion.cmake file (#8895)
Use write_basic_package_version_file() to create the
libffiConfigVersion.cmake file.
This allows detection of the libffi version using cmake.
An example, where this is relevant is e.g. glib 2.62, with the
following code in meson.build:
  libffi_dep = dependency('libffi', version : '>= 3.0.0',
  fallback : ['libffi', 'ffi_dep'])

When the libffiConfigVersion.cmake file is present, the following output
can be found in the meson-build.log:
  Run-time dependency libffi found: YES 3.1
2020-01-15 16:36:00 -08:00
Sutou Kouhei
513ebc2275 [libffi] Add support for CMake config (#8162)
* [libffi] Add support for CMake config

* [libffi] Use vcpkg_fixup_cmake_targets()
2019-10-07 11:13:05 -07: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
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
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
Todor Prokopov
1afa2b0f7b Build glib on x86-linux (#5313)
* Build glib on x86-linux

* [libffi] Code cleanup

* [glib] Use CMAKE_CXX_FLAGS instead of VCPKG_CXX_FLAGS

* [libffi] Use ${TARGET} in conditions
2019-02-28 22:58:46 -08:00
Robert Schumacher
24cf00365b [libffi] Fix non-windows 2018-04-19 10:40:06 -07:00
Robert Schumacher
e4a619c2ca [eigen3][libffi][libmysql][libwebp][rapidjson][websocketpp] Convert to use vcpkg_from_github 2018-03-02 12:28:42 -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
codicodi
54918bc63a correct version 2017-01-10 15:40:47 +01:00
codicodi
f5fb728196 add libffi 2017-01-10 15:28:45 +01:00