From 57ada3731d86c151081491654462f55fc2566d0b Mon Sep 17 00:00:00 2001 From: huangqinjin Date: Wed, 6 Nov 2024 03:42:00 +0800 Subject: [PATCH] [qmex] Add new port (#41924) --- ports/qmex/portfile.cmake | 33 +++++++++++++++++++++++++++++++++ ports/qmex/vcpkg.json | 23 +++++++++++++++++++++++ versions/baseline.json | 4 ++++ versions/q-/qmex.json | 9 +++++++++ 4 files changed, 69 insertions(+) create mode 100644 ports/qmex/portfile.cmake create mode 100644 ports/qmex/vcpkg.json create mode 100644 versions/q-/qmex.json diff --git a/ports/qmex/portfile.cmake b/ports/qmex/portfile.cmake new file mode 100644 index 0000000000..1b37e0ec03 --- /dev/null +++ b/ports/qmex/portfile.cmake @@ -0,0 +1,33 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO huangqinjin/QMEX + REF 8a061d68991362aa74ebbceeb5406032a0515536 + SHA512 bc4d13c1487291f541381e6e6baf83e4d723576d17441b0c9d206ec0bacfc33c5f6bd9ff98bb265823426110390f228b9c8ccc8f69c3842c83c6e039bfb02074 + HEAD_REF master +) + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + tools BUILD_TOOLS +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + ${FEATURE_OPTIONS} + -DBUILD_TESTING=OFF + OPTIONS_DEBUG + -DBUILD_TOOLS=OFF +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup() +vcpkg_copy_pdbs() +vcpkg_copy_pdbs(BUILD_PATHS "${CURRENT_PACKAGES_DIR}/bin/*.exe") + +if("tools" IN_LIST FEATURES) + vcpkg_copy_tools(TOOL_NAMES qmex-cli AUTO_CLEAN) +endif() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt") diff --git a/ports/qmex/vcpkg.json b/ports/qmex/vcpkg.json new file mode 100644 index 0000000000..8f811fa1e0 --- /dev/null +++ b/ports/qmex/vcpkg.json @@ -0,0 +1,23 @@ +{ + "name": "qmex", + "version-date": "2024-10-31", + "description": "QMEX - Query & Map & Evaluation & eXecution for Tabular Data", + "homepage": "https://github.com/huangqinjin/QMEX", + "license": "BSL-1.0", + "dependencies": [ + "lua", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ], + "features": { + "tools": { + "description": "QMEX cli tools" + } + } +} diff --git a/versions/baseline.json b/versions/baseline.json index eeea8baed2..f2cea2c9b8 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7300,6 +7300,10 @@ "baseline": "8.0.2", "port-version": 5 }, + "qmex": { + "baseline": "2024-10-31", + "port-version": 0 + }, "qnnpack": { "baseline": "2021-02-26", "port-version": 3 diff --git a/versions/q-/qmex.json b/versions/q-/qmex.json new file mode 100644 index 0000000000..8de5a235e3 --- /dev/null +++ b/versions/q-/qmex.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "b5fa4eb05382aad62fad36c2c6ae5e961cc0a6c6", + "version-date": "2024-10-31", + "port-version": 0 + } + ] +}