diff options
author | Gone2Daly <71726742+Gone2Daly@users.noreply.github.com> | 2023-09-22 18:13:50 +0200 |
---|---|---|
committer | Gone2Daly <71726742+Gone2Daly@users.noreply.github.com> | 2023-09-22 18:13:50 +0200 |
commit | d54f9dce8067150202f090fe59bb712a7b25e821 (patch) | |
tree | 4b3921f53307d074d6be712200e29acde7c5a62a /extension/src/openvic-extension/xxHash/share | |
parent | d56941e60016bf73587c63a36ac5ca9da3f6023e (diff) |
init
Diffstat (limited to 'extension/src/openvic-extension/xxHash/share')
8 files changed, 365 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/xxHash/share/xxhash/copyright b/extension/src/openvic-extension/xxHash/share/xxhash/copyright new file mode 100644 index 0000000..e4c5da7 --- /dev/null +++ b/extension/src/openvic-extension/xxHash/share/xxhash/copyright @@ -0,0 +1,26 @@ +xxHash Library +Copyright (c) 2012-2021 Yann Collet +All rights reserved. + +BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/extension/src/openvic-extension/xxHash/share/xxhash/vcpkg.spdx.json b/extension/src/openvic-extension/xxHash/share/xxhash/vcpkg.spdx.json new file mode 100644 index 0000000..d2d9838 --- /dev/null +++ b/extension/src/openvic-extension/xxHash/share/xxhash/vcpkg.spdx.json @@ -0,0 +1,110 @@ +{ + "$schema": "https://raw.githubusercontent.com/spdx/spdx-spec/v2.2.1/schemas/spdx-schema.json", + "spdxVersion": "SPDX-2.2", + "dataLicense": "CC0-1.0", + "SPDXID": "SPDXRef-DOCUMENT", + "documentNamespace": "https://spdx.org/spdxdocs/xxhash-x64-windows-0.8.2-7a19ffa4-def1-4754-acdd-877d1aebcd6d", + "name": "xxhash:x64-windows@0.8.2 ca15e46027fd27cb6036ce05b69286c684dce5381f28fd6db50afff67d6d1c7d", + "creationInfo": { + "creators": [ + "Tool: vcpkg-9990a4c9026811a312cb2af78bf77f3d9d288416" + ], + "created": "2023-09-20T04:53:13Z" + }, + "relationships": [ + { + "spdxElementId": "SPDXRef-port", + "relationshipType": "GENERATES", + "relatedSpdxElement": "SPDXRef-binary" + }, + { + "spdxElementId": "SPDXRef-port", + "relationshipType": "CONTAINS", + "relatedSpdxElement": "SPDXRef-file-0" + }, + { + "spdxElementId": "SPDXRef-port", + "relationshipType": "CONTAINS", + "relatedSpdxElement": "SPDXRef-file-1" + }, + { + "spdxElementId": "SPDXRef-binary", + "relationshipType": "GENERATED_FROM", + "relatedSpdxElement": "SPDXRef-port" + }, + { + "spdxElementId": "SPDXRef-file-0", + "relationshipType": "CONTAINED_BY", + "relatedSpdxElement": "SPDXRef-port" + }, + { + "spdxElementId": "SPDXRef-file-1", + "relationshipType": "CONTAINED_BY", + "relatedSpdxElement": "SPDXRef-port" + } + ], + "packages": [ + { + "name": "xxhash", + "SPDXID": "SPDXRef-port", + "versionInfo": "0.8.2", + "downloadLocation": "git+https://github.com/Microsoft/vcpkg#ports/xxhash", + "homepage": "https://github.com/Cyan4973/xxHash", + "licenseConcluded": "NOASSERTION", + "licenseDeclared": "NOASSERTION", + "copyrightText": "NOASSERTION", + "description": "Extremely fast hash algorithm", + "comment": "This is the port (recipe) consumed by vcpkg." + }, + { + "name": "xxhash:x64-windows", + "SPDXID": "SPDXRef-binary", + "versionInfo": "ca15e46027fd27cb6036ce05b69286c684dce5381f28fd6db50afff67d6d1c7d", + "downloadLocation": "NONE", + "licenseConcluded": "NOASSERTION", + "licenseDeclared": "NOASSERTION", + "copyrightText": "NOASSERTION", + "comment": "This is a binary package built by vcpkg." + }, + { + "SPDXID": "SPDXRef-resource-1", + "name": "Cyan4973/xxHash", + "downloadLocation": "git+https://github.com/Cyan4973/xxHash@v${VERSION}", + "licenseConcluded": "NOASSERTION", + "licenseDeclared": "NOASSERTION", + "copyrightText": "NOASSERTION", + "checksums": [ + { + "algorithm": "SHA512", + "checksumValue": "3e3eef21432fe88bc4dd9940ccad0308fdea3537b06fa5ac0e74c1bde53413dff29c8b3fc617a8a42b9ce88fcf213311d338a31b1ce73b3729342c9e68f06c78" + } + ] + } + ], + "files": [ + { + "fileName": "./C:/Users/Tyaf/vcpkg/ports/xxhash/portfile.cmake", + "SPDXID": "SPDXRef-file-0", + "checksums": [ + { + "algorithm": "SHA256", + "checksumValue": "3058502012318b588a4e1ef0475010168e701f8eb2796073efc383f5f1cedef1" + } + ], + "licenseConcluded": "NOASSERTION", + "copyrightText": "NOASSERTION" + }, + { + "fileName": "./C:/Users/Tyaf/vcpkg/ports/xxhash/vcpkg.json", + "SPDXID": "SPDXRef-file-1", + "checksums": [ + { + "algorithm": "SHA256", + "checksumValue": "90f476e98a97a8e03ada1b87396f61346db8f4a5b6289f911b8a96aebafe6cce" + } + ], + "licenseConcluded": "NOASSERTION", + "copyrightText": "NOASSERTION" + } + ] +} diff --git a/extension/src/openvic-extension/xxHash/share/xxhash/vcpkg_abi_info.txt b/extension/src/openvic-extension/xxHash/share/xxhash/vcpkg_abi_info.txt new file mode 100644 index 0000000..d2a6bd9 --- /dev/null +++ b/extension/src/openvic-extension/xxHash/share/xxhash/vcpkg_abi_info.txt @@ -0,0 +1,18 @@ +cmake 3.27.1 +features core +portfile.cmake 3058502012318b588a4e1ef0475010168e701f8eb2796073efc383f5f1cedef1 +ports.cmake 5a8e00cedff0c898b1f90f7d129329d0288801bc9056562b039698caf31ff3f3 +post_build_checks 2 +powershell 7.2.11 +triplet x64-windows +triplet_abi 4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-83d9dacea1b6b65a04acd5f32bc36b9e3c637eb0 +vcpkg-cmake cb52688110df3b91042f79326e6be4493d652b3e69cf806c18022770ff4a642b +vcpkg-cmake-config 0097e8cfba6f32f5234996eee04259b56a1a2d8b4e0fbff319f9d9295130ef30 +vcpkg.json 90f476e98a97a8e03ada1b87396f61346db8f4a5b6289f911b8a96aebafe6cce +vcpkg_check_features 943b217e0968d64cf2cb9c272608e6a0b497377e792034f819809a79e1502c2b +vcpkg_copy_pdbs d57e4f196c82dc562a9968c6155073094513c31e2de475694143d3aa47954b1c +vcpkg_copy_tools 3d45ff761bddbabe8923b52330168dc3abd295fa469d3f2e47cb14dce85332d5 +vcpkg_fixup_pkgconfig 588d833ff057d3ca99c14616c7ecfb5948b5e2a9e4fc02517dceb8b803473457 +vcpkg_from_git 8f27bff0d01c6d15a3e691758df52bfbb0b1b929da45c4ebba02ef76b54b1881 +vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f +vcpkg_install_copyright ba6c169ab4e59fa05682e530cdeb883767de22c8391f023d4e6844a7ec5dd3d2 diff --git a/extension/src/openvic-extension/xxHash/share/xxhash/xxHashConfig.cmake b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashConfig.cmake new file mode 100644 index 0000000..4782dc0 --- /dev/null +++ b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashConfig.cmake @@ -0,0 +1,28 @@ + +####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() ####### +####### Any changes to this file will be overwritten by the next CMake run #### +####### The input file was xxHashConfig.cmake.in ######## + +get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../" ABSOLUTE) + +macro(set_and_check _var _file) + set(${_var} "${_file}") + if(NOT EXISTS "${_file}") + message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !") + endif() +endmacro() + +macro(check_required_components _NAME) + foreach(comp ${${_NAME}_FIND_COMPONENTS}) + if(NOT ${_NAME}_${comp}_FOUND) + if(${_NAME}_FIND_REQUIRED_${comp}) + set(${_NAME}_FOUND FALSE) + endif() + endif() + endforeach() +endmacro() + +#################################################################################### + +include(${CMAKE_CURRENT_LIST_DIR}/xxHashTargets.cmake) + diff --git a/extension/src/openvic-extension/xxHash/share/xxhash/xxHashConfigVersion.cmake b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashConfigVersion.cmake new file mode 100644 index 0000000..ac7126d --- /dev/null +++ b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashConfigVersion.cmake @@ -0,0 +1,43 @@ +# This is a basic version file for the Config-mode of find_package(). +# It is used by write_basic_package_version_file() as input file for configure_file() +# to create a version-file which can be installed along a config.cmake file. +# +# The created file sets PACKAGE_VERSION_EXACT if the current version string and +# the requested version string are exactly the same and it sets +# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version. +# The variable CVF_VERSION must be set before calling configure_file(). + +set(PACKAGE_VERSION "0.8.2") + +if (PACKAGE_FIND_VERSION_RANGE) + # Package version must be in the requested version range + if ((PACKAGE_FIND_VERSION_RANGE_MIN STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MIN) + OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_GREATER PACKAGE_FIND_VERSION_MAX) + OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_GREATER_EQUAL PACKAGE_FIND_VERSION_MAX))) + set(PACKAGE_VERSION_COMPATIBLE FALSE) + else() + set(PACKAGE_VERSION_COMPATIBLE TRUE) + endif() +else() + if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) + set(PACKAGE_VERSION_COMPATIBLE FALSE) + else() + set(PACKAGE_VERSION_COMPATIBLE TRUE) + if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) + set(PACKAGE_VERSION_EXACT TRUE) + endif() + endif() +endif() + + +# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: +if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "") + return() +endif() + +# check that the installed version has the same 32/64bit-ness as the one which is currently searching: +if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8") + math(EXPR installedBits "8 * 8") + set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") + set(PACKAGE_VERSION_UNSUITABLE TRUE) +endif() diff --git a/extension/src/openvic-extension/xxHash/share/xxhash/xxHashTargets-debug.cmake b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashTargets-debug.cmake new file mode 100644 index 0000000..6d3bddf --- /dev/null +++ b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashTargets-debug.cmake @@ -0,0 +1,19 @@ +#---------------------------------------------------------------- +# Generated CMake target import file for configuration "Debug". +#---------------------------------------------------------------- + +# Commands may need to know the format version. +set(CMAKE_IMPORT_FILE_VERSION 1) + +# Import target "xxHash::xxhash" for configuration "Debug" +set_property(TARGET xxHash::xxhash APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) +set_target_properties(xxHash::xxhash PROPERTIES + IMPORTED_IMPLIB_DEBUG "${_IMPORT_PREFIX}/debug/lib/xxhash.lib" + IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/debug/bin/xxhash.dll" + ) + +list(APPEND _cmake_import_check_targets xxHash::xxhash ) +list(APPEND _cmake_import_check_files_for_xxHash::xxhash "${_IMPORT_PREFIX}/debug/lib/xxhash.lib" "${_IMPORT_PREFIX}/debug/bin/xxhash.dll" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/extension/src/openvic-extension/xxHash/share/xxhash/xxHashTargets-release.cmake b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashTargets-release.cmake new file mode 100644 index 0000000..c037aa0 --- /dev/null +++ b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashTargets-release.cmake @@ -0,0 +1,19 @@ +#---------------------------------------------------------------- +# Generated CMake target import file for configuration "Release". +#---------------------------------------------------------------- + +# Commands may need to know the format version. +set(CMAKE_IMPORT_FILE_VERSION 1) + +# Import target "xxHash::xxhash" for configuration "Release" +set_property(TARGET xxHash::xxhash APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) +set_target_properties(xxHash::xxhash PROPERTIES + IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/xxhash.lib" + IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/xxhash.dll" + ) + +list(APPEND _cmake_import_check_targets xxHash::xxhash ) +list(APPEND _cmake_import_check_files_for_xxHash::xxhash "${_IMPORT_PREFIX}/lib/xxhash.lib" "${_IMPORT_PREFIX}/bin/xxhash.dll" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/extension/src/openvic-extension/xxHash/share/xxhash/xxHashTargets.cmake b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashTargets.cmake new file mode 100644 index 0000000..569320c --- /dev/null +++ b/extension/src/openvic-extension/xxHash/share/xxhash/xxHashTargets.cmake @@ -0,0 +1,102 @@ +# Generated by CMake + +if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) + message(FATAL_ERROR "CMake >= 2.8.0 required") +endif() +if(CMAKE_VERSION VERSION_LESS "2.8.3") + message(FATAL_ERROR "CMake >= 2.8.3 required") +endif() +cmake_policy(PUSH) +cmake_policy(VERSION 2.8.3...3.25) +#---------------------------------------------------------------- +# Generated CMake target import file. +#---------------------------------------------------------------- + +# Commands may need to know the format version. +set(CMAKE_IMPORT_FILE_VERSION 1) + +# Protect against multiple inclusion, which would fail when already imported targets are added once more. +set(_cmake_targets_defined "") +set(_cmake_targets_not_defined "") +set(_cmake_expected_targets "") +foreach(_cmake_expected_target IN ITEMS xxHash::xxhash) + list(APPEND _cmake_expected_targets "${_cmake_expected_target}") + if(TARGET "${_cmake_expected_target}") + list(APPEND _cmake_targets_defined "${_cmake_expected_target}") + else() + list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}") + endif() +endforeach() +unset(_cmake_expected_target) +if(_cmake_targets_defined STREQUAL _cmake_expected_targets) + unset(_cmake_targets_defined) + unset(_cmake_targets_not_defined) + unset(_cmake_expected_targets) + unset(CMAKE_IMPORT_FILE_VERSION) + cmake_policy(POP) + return() +endif() +if(NOT _cmake_targets_defined STREQUAL "") + string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}") + string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}") + message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n") +endif() +unset(_cmake_targets_defined) +unset(_cmake_targets_not_defined) +unset(_cmake_expected_targets) + + +# Compute the installation prefix relative to this file. +get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) +get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) +get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) +if(_IMPORT_PREFIX STREQUAL "/") + set(_IMPORT_PREFIX "") +endif() + +# Create imported target xxHash::xxhash +add_library(xxHash::xxhash SHARED IMPORTED) + +set_target_properties(xxHash::xxhash PROPERTIES + INTERFACE_COMPILE_DEFINITIONS "XXH_EXPORT" + INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/" +) + +# Load information for each installed configuration. +file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/xxHashTargets-*.cmake") +foreach(_cmake_config_file IN LISTS _cmake_config_files) + include("${_cmake_config_file}") +endforeach() +unset(_cmake_config_file) +unset(_cmake_config_files) + +# Cleanup temporary variables. +set(_IMPORT_PREFIX) + +# Loop over all imported files and verify that they actually exist +foreach(_cmake_target IN LISTS _cmake_import_check_targets) + foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") + if(NOT EXISTS "${_cmake_file}") + message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file + \"${_cmake_file}\" +but this file does not exist. Possible reasons include: +* The file was deleted, renamed, or moved to another location. +* An install or uninstall procedure did not complete successfully. +* The installation package was faulty and contained + \"${CMAKE_CURRENT_LIST_FILE}\" +but not all the files it references. +") + endif() + endforeach() + unset(_cmake_file) + unset("_cmake_import_check_files_for_${_cmake_target}") +endforeach() +unset(_cmake_target) +unset(_cmake_import_check_targets) + +# This file does not depend on other imported targets which have +# been exported from the same project but in a separate export set. + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) +cmake_policy(POP) |