Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/coverallsapp/githu…
Browse files Browse the repository at this point in the history
…b-action-2.2.0
  • Loading branch information
Alan-Jowett committed Jun 13, 2023
2 parents 6c8e631 + 91f1e6f commit 0689b77
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ubpf_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@ if(CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64 AND (NOT CMAKE_HOST_SYSTEM_PROCESSOR
set(PLUGIN_JIT --plugin_path ${CMAKE_BINARY_DIR}/bin/run-jit.sh)
set(PLUGIN_INTERPRET --plugin_path ${CMAKE_BINARY_DIR}/bin/run-interpret.sh)
else()
set(PLUGIN_JIT --plugin_path ${CMAKE_BINARY_DIR}/bin/ubpf_plugin --plugin_options --jit)
set(PLUGIN_INTERPRET --plugin_path ${CMAKE_BINARY_DIR}/bin/ubpf_plugin --plugin_options --interpret)
if(PLATFORM_WINDOWS)
set(PLATFORM_EXECUTABLE_EXTENSION ".exe")
else()
set(PLATFORM_EXECUTABLE_EXTENSION "")
endif()
set(PLUGIN_JIT --plugin_path ${CMAKE_BINARY_DIR}/bin/ubpf_plugin${PLATFORM_EXECUTABLE_EXTENSION} --plugin_options --jit)
set(PLUGIN_INTERPRET --plugin_path ${CMAKE_BINARY_DIR}/bin/ubpf_plugin${PLATFORM_EXECUTABLE_EXTENSION} --plugin_options --interpret)
endif()

foreach(file ${files})
Expand Down

0 comments on commit 0689b77

Please sign in to comment.