mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 14:47:58 +08:00
[vcpkg baseline][rbdl-orb/rbdl/ptex] file conflicts, skip rbdl-orb in CI testing (#19453)
* [vcpkg baseline][rbdl-orb/rbdl] file conflicts, skip rbdl-orb in Ci testing * [ptex] Add DISABLE_PARALLEL_CONFIGURE * Update the baseline version * Add missing quotes * Update the baseline version
This commit is contained in:
parent
7893cbb48a
commit
e1e7daf3ab
@ -1,7 +0,0 @@
|
|||||||
Source: ptex
|
|
||||||
Version: 2.3.2
|
|
||||||
Port-Version: 2
|
|
||||||
Homepage: https://github.com/wdas/ptex
|
|
||||||
Description: Per-Face Texture Mapping for Production Rendering.
|
|
||||||
Build-Depends: zlib
|
|
||||||
Supports: !uwp
|
|
@ -21,29 +21,29 @@ else()
|
|||||||
set(BUILD_STATIC_LIB ON)
|
set(BUILD_STATIC_LIB ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_cmake_configure(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
PREFER_NINJA
|
DISABLE_PARALLEL_CONFIGURE
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DPTEX_VER=v${PTEX_VER}
|
-DPTEX_VER=v${PTEX_VER}
|
||||||
-DPTEX_BUILD_SHARED_LIBS=${BUILD_SHARED_LIB}
|
-DPTEX_BUILD_SHARED_LIBS=${BUILD_SHARED_LIB}
|
||||||
-DPTEX_BUILD_STATIC_LIBS=${BUILD_STATIC_LIB}
|
-DPTEX_BUILD_STATIC_LIBS=${BUILD_STATIC_LIB}
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_cmake_install()
|
||||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/Ptex)
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/Ptex)
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
foreach(HEADER PtexHalf.h Ptexture.h)
|
foreach(HEADER PtexHalf.h Ptexture.h)
|
||||||
file(READ ${CURRENT_PACKAGES_DIR}/include/${HEADER} PTEX_HEADER)
|
file(READ "${CURRENT_PACKAGES_DIR}/include/${HEADER}" PTEX_HEADER)
|
||||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||||
string(REPLACE "ifndef PTEX_STATIC" "if 1" PTEX_HEADER "${PTEX_HEADER}")
|
string(REPLACE "ifndef PTEX_STATIC" "if 1" PTEX_HEADER "${PTEX_HEADER}")
|
||||||
else()
|
else()
|
||||||
string(REPLACE "ifndef PTEX_STATIC" "if 0" PTEX_HEADER "${PTEX_HEADER}")
|
string(REPLACE "ifndef PTEX_STATIC" "if 0" PTEX_HEADER "${PTEX_HEADER}")
|
||||||
endif()
|
endif()
|
||||||
file(WRITE ${CURRENT_PACKAGES_DIR}/include/${HEADER} "${PTEX_HEADER}")
|
file(WRITE "${CURRENT_PACKAGES_DIR}/include/${HEADER}" "${PTEX_HEADER}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||||
# Handle copyright
|
|
||||||
file(INSTALL ${SOURCE_PATH}/src/doc/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
file(INSTALL "${SOURCE_PATH}/src/doc/License.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||||
|
19
ports/ptex/vcpkg.json
Normal file
19
ports/ptex/vcpkg.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "ptex",
|
||||||
|
"version": "2.3.2",
|
||||||
|
"port-version": 3,
|
||||||
|
"description": "Per-Face Texture Mapping for Production Rendering.",
|
||||||
|
"homepage": "https://github.com/wdas/ptex",
|
||||||
|
"supports": "!uwp",
|
||||||
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake",
|
||||||
|
"host": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake-config",
|
||||||
|
"host": true
|
||||||
|
},
|
||||||
|
"zlib"
|
||||||
|
]
|
||||||
|
}
|
@ -1,12 +1,16 @@
|
|||||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" RBDL_STATIC)
|
if (EXISTS "${CURRENT_INSTALLED_DIR}/share/rbdl/copyright")
|
||||||
|
message(FATAL_ERROR "${PORT} conflict with rbdl, please remove rbdl before install ${PORT}.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" RBDL_STATIC)
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO ORB-HD/rbdl-orb
|
REPO ORB-HD/rbdl-orb
|
||||||
REF b22abab856a90dbc62e6b2e79f148bd383b5ce43
|
REF b22abab856a90dbc62e6b2e79f148bd383b5ce43
|
||||||
SHA512 744a60145243454a9d148971d998ae7a3cc5b9d66131b5d6f3c7be80d6c9ef8b8bf4390b9d1b90b14be6c619c2e1d14c7c6104b3ca6e606e22e3581b548e4f9d
|
SHA512 744a60145243454a9d148971d998ae7a3cc5b9d66131b5d6f3c7be80d6c9ef8b8bf4390b9d1b90b14be6c619c2e1d14c7c6104b3ca6e606e22e3581b548e4f9d
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH PARSER_SOURCE_PATH
|
OUT_SOURCE_PATH PARSER_SOURCE_PATH
|
||||||
@ -17,10 +21,10 @@ vcpkg_from_github(
|
|||||||
if(NOT EXISTS "${SOURCE_PATH}/addons/urdfreader/thirdparty/urdfparser/CMakeLists.txt")
|
if(NOT EXISTS "${SOURCE_PATH}/addons/urdfreader/thirdparty/urdfparser/CMakeLists.txt")
|
||||||
file(REMOVE_RECURSE "${SOURCE_PATH}/addons/urdfreader/thirdparty/urdfparser")
|
file(REMOVE_RECURSE "${SOURCE_PATH}/addons/urdfreader/thirdparty/urdfparser")
|
||||||
file(RENAME "${PARSER_SOURCE_PATH}" "${SOURCE_PATH}/addons/urdfreader/thirdparty/urdfparser")
|
file(RENAME "${PARSER_SOURCE_PATH}" "${SOURCE_PATH}/addons/urdfreader/thirdparty/urdfparser")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DRBDL_BUILD_STATIC=${RBDL_STATIC}
|
-DRBDL_BUILD_STATIC=${RBDL_STATIC}
|
||||||
-DRBDL_BUILD_ADDON_LUAMODEL=ON
|
-DRBDL_BUILD_ADDON_LUAMODEL=ON
|
||||||
@ -31,10 +35,8 @@ vcpkg_cmake_configure(
|
|||||||
|
|
||||||
vcpkg_cmake_install()
|
vcpkg_cmake_install()
|
||||||
|
|
||||||
# # Handle copyright
|
|
||||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
||||||
|
|
||||||
# # Remove duplicated include directory
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||||
|
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "rbdl-orb",
|
"name": "rbdl-orb",
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
|
"port-version": 1,
|
||||||
"description": "Rigid Body Dynamics Library - ORB",
|
"description": "Rigid Body Dynamics Library - ORB",
|
||||||
"homepage": "https://github.com/orb-hd/rbdl-orb",
|
"homepage": "https://github.com/orb-hd/rbdl-orb",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
@ -10,10 +11,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vcpkg-cmake",
|
"name": "vcpkg-cmake",
|
||||||
"host": true
|
"host": true
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "vcpkg-cmake-config",
|
|
||||||
"host": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
Source: rbdl
|
|
||||||
Version: 2.6.0
|
|
||||||
Port-Version: 0
|
|
||||||
Homepage: https://github.com/rbdl/rbdl
|
|
||||||
Description: Rigid Body Dynamics Library
|
|
||||||
Build-Depends: eigen3
|
|
@ -1,9 +1,9 @@
|
|||||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
if (EXISTS "${CURRENT_INSTALLED_DIR}/share/rbdl-orb/copyright")
|
||||||
set(RBDL_STATIC ON)
|
message(FATAL_ERROR "${PORT} conflict with rbdl-orb, please remove rbdl-orb before install ${PORT}.")
|
||||||
else()
|
|
||||||
set(RBDL_STATIC OFF)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" RBDL_STATIC)
|
||||||
|
|
||||||
vcpkg_from_github(ARCHIVE
|
vcpkg_from_github(ARCHIVE
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO rbdl/rbdl
|
REPO rbdl/rbdl
|
||||||
@ -14,19 +14,16 @@ vcpkg_from_github(ARCHIVE
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_cmake_configure(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
PREFER_NINJA # Disable this option if project cannot be built with Ninja
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DRBDL_BUILD_STATIC=${RBDL_STATIC}
|
-DRBDL_BUILD_STATIC=${RBDL_STATIC}
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_cmake_install()
|
||||||
|
|
||||||
# # Handle copyright
|
|
||||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
||||||
|
|
||||||
# # Remove duplicated include directory
|
|
||||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||||
|
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||||
|
14
ports/rbdl/vcpkg.json
Normal file
14
ports/rbdl/vcpkg.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"name": "rbdl",
|
||||||
|
"version": "2.6.0",
|
||||||
|
"port-version": 1,
|
||||||
|
"description": "Rigid Body Dynamics Library",
|
||||||
|
"homepage": "https://github.com/rbdl/rbdl",
|
||||||
|
"dependencies": [
|
||||||
|
"eigen3",
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake",
|
||||||
|
"host": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -1325,6 +1325,16 @@ rapidstring:x86-windows=fail
|
|||||||
raylib:arm64-windows=fail
|
raylib:arm64-windows=fail
|
||||||
raylib:arm-uwp=fail
|
raylib:arm-uwp=fail
|
||||||
raylib:x64-uwp=fail
|
raylib:x64-uwp=fail
|
||||||
|
# file conflicts with rbdl
|
||||||
|
rbdl-orb:x86-windows=skip
|
||||||
|
rbdl-orb:x64-windows=skip
|
||||||
|
rbdl-orb:x64-windows-static=skip
|
||||||
|
rbdl-orb:x64-windows-static-md=skip
|
||||||
|
rbdl-orb:x64-uwp=skip
|
||||||
|
rbdl-orb:arm-uwp=skip
|
||||||
|
rbdl-orb:arm64-windows=skip
|
||||||
|
rbdl-orb:x64-linux=skip
|
||||||
|
rbdl-orb:x64-osx=skip
|
||||||
readline:arm-uwp=fail
|
readline:arm-uwp=fail
|
||||||
readline:x64-uwp=fail
|
readline:x64-uwp=fail
|
||||||
readline-win32:arm-uwp=fail
|
readline-win32:arm-uwp=fail
|
||||||
|
@ -5102,7 +5102,7 @@
|
|||||||
},
|
},
|
||||||
"ptex": {
|
"ptex": {
|
||||||
"baseline": "2.3.2",
|
"baseline": "2.3.2",
|
||||||
"port-version": 2
|
"port-version": 3
|
||||||
},
|
},
|
||||||
"pthread": {
|
"pthread": {
|
||||||
"baseline": "3.0.0",
|
"baseline": "3.0.0",
|
||||||
@ -5530,11 +5530,11 @@
|
|||||||
},
|
},
|
||||||
"rbdl": {
|
"rbdl": {
|
||||||
"baseline": "2.6.0",
|
"baseline": "2.6.0",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"rbdl-orb": {
|
"rbdl-orb": {
|
||||||
"baseline": "3.0.0",
|
"baseline": "3.0.0",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"re2": {
|
"re2": {
|
||||||
"baseline": "2020-10-01",
|
"baseline": "2020-10-01",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "c524a2ab1940315d3481e9fbf745425caf5b7c15",
|
||||||
|
"version": "2.3.2",
|
||||||
|
"port-version": 3
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "e4ee03f1ba1d9c807b8baee1bd3b1089e71476ca",
|
"git-tree": "e4ee03f1ba1d9c807b8baee1bd3b1089e71476ca",
|
||||||
"version-string": "2.3.2",
|
"version-string": "2.3.2",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "5850c6901f4123803184bfe9b6e587af9350331a",
|
||||||
|
"version": "3.0.0",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "d475aade9be86281a6db741ee68e30a23d0f16d3",
|
"git-tree": "d475aade9be86281a6db741ee68e30a23d0f16d3",
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "44606d1a4e33112ca45274e823041ad877e62623",
|
||||||
|
"version": "2.6.0",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "c2823f8341acd1e564485661989fb3780a6b4a2a",
|
"git-tree": "c2823f8341acd1e564485661989fb3780a6b4a2a",
|
||||||
"version-string": "2.6.0",
|
"version-string": "2.6.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user