From 1901067fc673c25b76a67cc2d18d0d827e9e59b0 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 11 Jun 2020 00:57:38 -0700 Subject: [PATCH] [xbyak] Add new port (#11689) * [xbyak] Add new port * [xbyak] add homepage, removed deprecated functions, handle copyright correctly --- ports/xbyak/CONTROL | 5 +++++ ports/xbyak/portfile.cmake | 14 ++++++++++++++ scripts/ci.baseline.txt | 3 +++ 3 files changed, 22 insertions(+) create mode 100644 ports/xbyak/CONTROL create mode 100644 ports/xbyak/portfile.cmake diff --git a/ports/xbyak/CONTROL b/ports/xbyak/CONTROL new file mode 100644 index 000000000..05a1956cf --- /dev/null +++ b/ports/xbyak/CONTROL @@ -0,0 +1,5 @@ +Source: xbyak +Version: 5.911 +Description: Xbyak is a JIT assembler for x86(IA-32)/x64(AMD64, x86-64). +Homepage: https://github.com/herumi/xbyak +Supports: !(arm|uwp) diff --git a/ports/xbyak/portfile.cmake b/ports/xbyak/portfile.cmake new file mode 100644 index 000000000..b07b372f3 --- /dev/null +++ b/ports/xbyak/portfile.cmake @@ -0,0 +1,14 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO herumi/xbyak + REF v5.911 + SHA512 3cb6b1e73d7dc2a23dcb31310720f0d4b83b62cfc69ff09eeefafe032e58e04574419f668d5ca957e8fc21e679e25da059f6e93724949e0ff1fcaa6779b88bdd + HEAD_REF master +) + +# handle license file +file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) + +# copy headers +file(GLOB HEADER_FILES ${SOURCE_PATH}/xbyak/*.h) +file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/xbyak) diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt index 2303fcd14..dbb69ed08 100644 --- a/scripts/ci.baseline.txt +++ b/scripts/ci.baseline.txt @@ -1976,6 +1976,9 @@ x265:arm-uwp=fail x265:x64-uwp=fail xalan-c:x64-windows-static=fail xalan-c:arm64-windows=fail +xbyak:arm64-windows=fail +xbyak:arm-uwp=fail +xbyak:x64-uwp=fail xerces-c:arm-uwp=fail xerces-c:x64-uwp=fail xeus:x64-linux=ignore