From aa095559917a495b160986e9ad50556431509ace Mon Sep 17 00:00:00 2001 From: Bobby Martin Date: Wed, 6 Feb 2019 17:21:23 -0800 Subject: [hyperscan] New port (#5285) * add support for building hyperscan * patch hyperscan to work with latest boost * correct hyperscan source dir name * speed the build by depending on only the parts of boost we actually need * make python3 support release-only builds * upgrade to hyperscan 5.1.0 * remove redundant disambiguate patch * Add comments about how to build * restore original x64-windows-static.cmake * [hyperscan] Check linkage * [python3] Allow DLLs without LIBs * [hyperscan] Only static library * [python3] Revert changes that cause regression in boost-python * [python3] Revert changes that cause regression in boost-python --- ports/python3/CONTROL | 2 +- ports/python3/portfile.cmake | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'ports/python3') diff --git a/ports/python3/CONTROL b/ports/python3/CONTROL index 6c5a835da..f37197e83 100644 --- a/ports/python3/CONTROL +++ b/ports/python3/CONTROL @@ -1,3 +1,3 @@ Source: python3 -Version: 3.6.4-3 +Version: 3.6.4-5 Description: The Python programming language as an embeddable library \ No newline at end of file diff --git a/ports/python3/portfile.cmake b/ports/python3/portfile.cmake index e3bbfd2f5..308f0aa37 100644 --- a/ports/python3/portfile.cmake +++ b/ports/python3/portfile.cmake @@ -73,6 +73,7 @@ file(COPY ${SOURCE_PATH}/Lib DESTINATION ${CURRENT_PACKAGES_DIR}/share/python${P file(COPY ${SOURCE_PATH}/PCBuild/${OUT_DIR}/python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}.lib DESTINATION ${CURRENT_PACKAGES_DIR}/lib) file(COPY ${SOURCE_PATH}/PCBuild/${OUT_DIR}/python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}_d.lib DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib) + if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) file(COPY ${SOURCE_PATH}/PCBuild/${OUT_DIR}/python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}.dll DESTINATION ${CURRENT_PACKAGES_DIR}/bin) file(COPY ${SOURCE_PATH}/PCBuild/${OUT_DIR}/python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}_d.dll DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin) -- cgit v1.2.3