early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,16 @@
diff --git a/src/support_x86.cpp b/src/support_x86.cpp
index 0ab9669..d5c17ba 100644
--- a/src/support_x86.cpp
+++ b/src/support_x86.cpp
@@ -58,8 +58,9 @@ static inline bool xgetbvCheck(unsigned int bits)
#endif
}
-Vc_TARGET_NO_SIMD
-bool isImplementationSupported(Implementation impl)
+
+Vc_TARGET_NO_SIMD
+bool Vc_VDECL isImplementationSupported(Vc::Implementation impl)
{
CpuId::init();

View File

@@ -0,0 +1,22 @@
diff --git a/cmake/VcConfig.cmake.in b/cmake/VcConfig.cmake.in
index 36de476..5cb0e5b 100644
--- a/cmake/VcConfig.cmake.in
+++ b/cmake/VcConfig.cmake.in
@@ -4,7 +4,7 @@
set_and_check(@PROJECT_NAME@_INSTALL_DIR @PACKAGE_CMAKE_INSTALL_PREFIX@)
set_and_check(@PROJECT_NAME@_INCLUDE_DIR @PACKAGE_CMAKE_INSTALL_PREFIX@/include)
set_and_check(@PROJECT_NAME@_LIB_DIR @PACKAGE_CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@)
-set_and_check(@PROJECT_NAME@_CMAKE_MODULES_DIR ${@PROJECT_NAME@_LIB_DIR}/cmake/Vc)
+set_and_check(@PROJECT_NAME@_CMAKE_MODULES_DIR @PACKAGE_CMAKE_INSTALL_PREFIX@/share/vc)
set(@PROJECT_NAME@_VERSION_STRING "@PROJECT_VERSION@")
### Setup @PROJECT_NAME@ defaults
@@ -20,7 +20,7 @@ list(APPEND @PROJECT_NAME@_ALL_FLAGS ${@PROJECT_NAME@_COMPILE_FLAGS})
list(APPEND @PROJECT_NAME@_ALL_FLAGS ${@PROJECT_NAME@_ARCHITECTURE_FLAGS})
### Import targets
-include("@PACKAGE_CMAKE_INSTALL_PREFIX@/@PACKAGE_INSTALL_DESTINATION@/@PROJECT_NAME@Targets.cmake")
+include(${@PROJECT_NAME@_CMAKE_MODULES_DIR}/@PROJECT_NAME@Targets.cmake)
### Define @PROJECT_NAME@_LIBRARIES for backwards compatibility
get_target_property(vc_lib_location @PROJECT_NAME@::Vc INTERFACE_LOCATION)

25
externals/vcpkg/ports/vc/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,25 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO VcDevel/Vc
REF 1.4.3
SHA512 7c0c4ccf8c7c4585334482135f2daf1a5bc088114b880093893583bdcea1fbfcec02485da6059304c510c8b1bb1b768ef04fd7ac8ccb21b9ebbad5d0d5babaef
HEAD_REF 1.4
PATCHES
correct_cmake_config_path.patch
Fix-internal-func-export.patch #remove it in next version
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
-DBUILD_EXAMPLES=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/Vc/")
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

18
externals/vcpkg/ports/vc/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,18 @@
{
"name": "vc",
"version": "1.4.3",
"description": "SIMD Vector Classes for C++ .",
"homepage": "https://github.com/VcDevel/Vc",
"license": "BSD-3-Clause",
"supports": "!arm64",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}