diff --git a/.gitmodules b/.gitmodules index 808fbd701..f12802369 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,9 +4,6 @@ [submodule "external/radix_tree"] path = external/radix_tree url = https://github.com/ytakano/radix_tree -[submodule "external/ELFIO"] - path = external/ELFIO - url = https://github.com/serge1/ELFIO.git [submodule "external/bpf_conformance"] path = external/bpf_conformance url = https://github.com/Alan-Jowett/bpf_conformance.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 26d9ae3bf..d4c795491 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") if (NOT NUGET) message("ERROR: You must first install nuget.exe from https://www.nuget.org/downloads") else () - execute_process(COMMAND ${NUGET} ARGS install "Boost" -Version 1.81.0 -ExcludeVersion -OutputDirectory ${CMAKE_BINARY_DIR}/packages) + execute_process(COMMAND ${NUGET} install "Boost" -Version 1.81.0 -ExcludeVersion -OutputDirectory ${CMAKE_BINARY_DIR}/packages) set(BOOST_VERSION 1.81.0) endif() set(Boost_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/packages/boost/lib/native/include) @@ -62,7 +62,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") endif () include_directories(./external) -include_directories(./external/ELFIO) +include_directories(./external/bpf_conformance/external/elfio) include_directories(./src) include_directories(./external/libbtf) include_directories(${Boost_INCLUDE_DIRS}) @@ -130,6 +130,7 @@ target_compile_options(ebpfverifier PUBLIC "$<$:${DEBUG_FLAGS}>") target_compile_options(ebpfverifier PUBLIC "$<$:${RELEASE_FLAGS}>") target_compile_options(ebpfverifier PUBLIC "$<$:${SANITIZE_FLAGS}>") +add_subdirectory("external/bpf_conformance/external/elfio") add_subdirectory("external/bpf_conformance/src") add_subdirectory("external/libbtf") diff --git a/external/ELFIO b/external/ELFIO deleted file mode 160000 index 2b457dd5d..000000000 --- a/external/ELFIO +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2b457dd5d90018172a4de12a67cc6869c51a2c0a diff --git a/external/bpf_conformance b/external/bpf_conformance index 78df87a6e..ab3409499 160000 --- a/external/bpf_conformance +++ b/external/bpf_conformance @@ -1 +1 @@ -Subproject commit 78df87a6e85d4051d6bc1c92b1b6c05d7195cf05 +Subproject commit ab3409499613e005cf8098bb8249efd71fa4c43e