mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[cppad] Revise dependencies, build and manifest (#49160)
This commit is contained in:
@@ -6,25 +6,27 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PKGCONFIG)
|
||||
set(ENV{PKG_CONFIG} "${PKGCONFIG}")
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" cppad_static_lib)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
OPTIONS
|
||||
-Dcppad_prefix=${CURRENT_PACKAGES_DIR}
|
||||
OPTIONS_RELEASE
|
||||
-Dcmake_install_libdirs=lib
|
||||
OPTIONS_DEBUG
|
||||
-Dcmake_install_libdirs=debug/lib
|
||||
-Dcppad_static_lib=${cppad_static_lib}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/share/pkgconfig"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/include"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/share"
|
||||
"${CURRENT_PACKAGES_DIR}/share/pkgconfig" # redundant
|
||||
# Remove empty dirs
|
||||
"${CURRENT_PACKAGES_DIR}/include/cppad/local/sweep/template"
|
||||
"${CURRENT_PACKAGES_DIR}/include/cppad/local/var_op/template"
|
||||
)
|
||||
|
||||
# Add the copyright
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
{
|
||||
"$comment": "See related issue for compilation failure on UWP and ARM: https://github.com/microsoft/vcpkg/pull/12560#issuecomment-668412073",
|
||||
"name": "cppad",
|
||||
"version": "20250000.3",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "CppAD: A Package for Differentiation of C++ Algorithms",
|
||||
"homepage": "https://github.com/coin-or/CppAD",
|
||||
"license": "EPL-2.0",
|
||||
"supports": "!uwp & !(windows & arm64)",
|
||||
"license": "EPL-2.0 OR GPL-2.0-or-later",
|
||||
"dependencies": [
|
||||
"pkgconf",
|
||||
"boost-thread",
|
||||
"eigen3",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
||||
@@ -2042,7 +2042,7 @@
|
||||
},
|
||||
"cppad": {
|
||||
"baseline": "20250000.3",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"cppcms": {
|
||||
"baseline": "2.0.1",
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e2ba7723e6f7492e99497324ded1030395fc9b35",
|
||||
"version": "20250000.3",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "90c3b29013bfbdc5ad4bf24f4ce909b082884960",
|
||||
"version": "20250000.3",
|
||||
|
||||
Reference in New Issue
Block a user