Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
codicodi
f5fb728196 add libffi 2017-01-10 15:28:45 +01:00