enhancement(nodeps): remove volk dependency

This commit is contained in:
PancakeTAS 2025-08-20 22:22:41 +02:00 committed by Pancake
parent 0a6455a381
commit bfebf9b27e
7 changed files with 6122 additions and 8 deletions

3
.gitmodules vendored
View file

@ -4,6 +4,3 @@
[submodule "thirdparty/toml11"]
path = thirdparty/toml11
url = https://github.com/ToruNiina/toml11
[submodule "thirdparty/volk"]
path = thirdparty/volk
url = https://github.com/zeux/volk

View file

@ -14,7 +14,6 @@ add_compile_options(-fPIC
add_subdirectory(thirdparty/pe-parse/pe-parser-library EXCLUDE_FROM_ALL)
add_subdirectory(thirdparty/toml11 EXCLUDE_FROM_ALL)
add_subdirectory(thirdparty/volk EXCLUDE_FROM_ALL)
add_subdirectory(framegen)
if(LSFGVK_EXCESS_DEBUG)

View file

@ -11,13 +11,14 @@ endif()
project(lsfg-vk-framegen
DESCRIPTION "Lossless Scaling Frame Generation Backend"
LANGUAGES CXX)
LANGUAGES C CXX)
file(GLOB SOURCES
"src/common/*.cpp"
"src/config/*.cpp"
"src/core/*.cpp"
"src/pool/*.cpp"
"src/thirdparty/*.c"
"src/*.cpp"
"v3.1_src/core/*.cpp"
"v3.1_src/pool/*.cpp"
@ -38,12 +39,11 @@ set_target_properties(lsfg-vk-framegen PROPERTIES
CXX_STANDARD 20
CXX_STANDARD_REQUIRED ON)
target_include_directories(lsfg-vk-framegen
PUBLIC include/thirdparty
PUBLIC include
PUBLIC public
PRIVATE v3.1_include
PRIVATE v3.1p_include)
target_link_libraries(lsfg-vk-framegen
PUBLIC volk)
# diagnostics
if(CMAKE_BUILD_TYPE STREQUAL "Debug")

2647
framegen/include/thirdparty/volk.h vendored Normal file

File diff suppressed because it is too large Load diff

3468
framegen/src/thirdparty/volk.c vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -5,6 +5,10 @@ if(NOT LSFGVK_EXCESS_DEBUG)
set(CMAKE_CXX_VISIBILITY_PRESET "hidden")
endif()
if(LSFGVK_EXCESS_DEBUG)
add_compile_definitions(LSFGVK_EXCESS_DEBUG)
endif()
project(lsfg-vk-test
DESCRIPTION "Test: lsfg-vk"
LANGUAGES CXX)

1
thirdparty/volk vendored

@ -1 +0,0 @@
Subproject commit be3dbd49bf77052665e96b6c7484af855e7e5f67