Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
Linux compiling with conan 2, clean-up required
Browse files Browse the repository at this point in the history
  • Loading branch information
pierricgimmig committed Jan 5, 2025
1 parent 85b0a34 commit b7c411f
Show file tree
Hide file tree
Showing 11 changed files with 1,566 additions and 1,898 deletions.
20 changes: 11 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

option(WITH_GUI "Setting this option will enable the Qt-based UI client." ON)

if(NOT WIN32)
option(WITH_VULKAN "Setting this option will enable Vulkan" ON)
#if(NOT WIN32)
# option(WITH_VULKAN "Setting this option will enable Vulkan" ON)

if(WITH_VULKAN)
add_definitions(-DVULKAN_ENABLED)
endif()
endif()
# if(WITH_VULKAN)
# add_definitions(-DVULKAN_ENABLED)
# endif()
#endif()

# This is only for designated initializers
if(WIN32)
Expand All @@ -82,6 +82,8 @@ else()
set(CMAKE_CXX_STANDARD 17)
endif()
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS ON)


list(APPEND CMAKE_MODULE_PATH "${CMAKE_BINARY_DIR}" "${CMAKE_SOURCE_DIR}/cmake")

Expand All @@ -104,7 +106,7 @@ find_package(Threads REQUIRED)
find_package(xxHash REQUIRED)
find_package(concurrentqueue REQUIRED)
find_package(gte REQUIRED)
find_package(libprotobuf-mutator REQUIRED)
#find_package(libprotobuf-mutator REQUIRED)
find_package(LZMA REQUIRED)
find_package(absl REQUIRED)
find_package(LLVM REQUIRED)
Expand Down Expand Up @@ -144,7 +146,7 @@ endif()

include("cmake/protobuf.cmake")
include("cmake/grpc_helper.cmake")
include("cmake/fuzzing.cmake")
#include("cmake/fuzzing.cmake")
include("cmake/tests.cmake")
include("cmake/iwyu.cmake")
enable_testing()
Expand Down Expand Up @@ -211,7 +213,7 @@ add_subdirectory(src/Containers)
add_subdirectory(src/CrashService)
add_subdirectory(src/DisplayFormats)
add_subdirectory(src/FakeProducerSideService)
add_subdirectory(src/FuzzingUtils)
#add_subdirectory(src/FuzzingUtils)
add_subdirectory(src/GrpcProtos)
add_subdirectory(src/Introspection)
add_subdirectory(src/ModuleUtils)
Expand Down
6 changes: 3 additions & 3 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def requirements(self):
self.requires("outcome/2.2.9")
self.requires("llvm-core/13.0.0")
if self.settings.os != "Windows":
self.requires("volk/1.3.268.0")
self.requires("vulkan-headers/1.3.290.0")
self.requires("vulkan-validationlayers/1.3.290.0")
self.requires("volk/1.3.239.0")
self.requires("vulkan-headers/1.3.239")
#self.requires("vulkan-validationlayers/1.3.239.0")
self.requires("zlib/1.3.1", override=True)
self.requires("openssl/3.3.2", override=True)
self.requires("libssh2/1.11.0")
Expand Down
4 changes: 0 additions & 4 deletions src/CaptureClient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ target_link_libraries(CaptureClient PUBLIC
GrpcProtos
Introspection)

add_fuzzer(CaptureEventProcessorProcessEventsFuzzer CaptureEventProcessorProcessEventsFuzzer.cpp)
target_link_libraries(CaptureEventProcessorProcessEventsFuzzer
PRIVATE CaptureClient FuzzingUtils)

add_executable(CaptureClientTests)

target_sources(CaptureClientTests PRIVATE
Expand Down
5 changes: 0 additions & 5 deletions src/ClientData/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,3 @@ target_link_libraries(ClientDataTests PRIVATE
GTest_Main)

register_test(ClientDataTests)

add_fuzzer(ModuleLoadSymbolsFuzzer ModuleLoadSymbolsFuzzer.cpp)
target_link_libraries(
ModuleLoadSymbolsFuzzer PRIVATE ClientData
FuzzingUtils)
2 changes: 0 additions & 2 deletions src/ObjectUtils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,3 @@ target_link_libraries(

register_test(ObjectUtilsTests)

add_fuzzer(ElfFileLoadSymbolsFuzzer ElfFileLoadSymbolsFuzzer.cpp)
target_link_libraries(ElfFileLoadSymbolsFuzzer FuzzingUtils ObjectUtils)
169 changes: 0 additions & 169 deletions src/OrbitBase/AnyErrorOfTest.cpp

This file was deleted.

2 changes: 0 additions & 2 deletions src/OrbitBase/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ target_include_directories(OrbitBase PRIVATE
target_sources(OrbitBase PRIVATE
include/OrbitBase/Action.h
include/OrbitBase/Align.h
include/OrbitBase/AnyErrorOf.h
include/OrbitBase/AnyInvocable.h
include/OrbitBase/AnyMovable.h
include/OrbitBase/Append.h
Expand Down Expand Up @@ -109,7 +108,6 @@ add_executable(OrbitBaseTests)
target_sources(OrbitBaseTests PRIVATE
AlignTest.cpp
AnyInvocableTest.cpp
AnyErrorOfTest.cpp
AnyMovableTest.cpp
AppendTest.cpp
CanceledOrTest.cpp
Expand Down
Loading

0 comments on commit b7c411f

Please sign in to comment.