Skip to content

Commit

Permalink
review followup: optimise all local code
Browse files Browse the repository at this point in the history
  • Loading branch information
phlash committed Mar 12, 2022
1 parent 8fef716 commit 0f5d3b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ add_subdirectory(${TENSORFLOW}/tensorflow/lite

# build backscrub code
add_compile_definitions(DEEPSEG_VERSION=${DEEPSEG_VERSION} INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX})
add_compile_options(-march=native -O9)
include_directories(BEFORE .)
set(CMAKE_CXX_STANDARD 17)

add_library(backscrub
lib/libbackscrub.cc
Expand Down Expand Up @@ -87,8 +87,6 @@ add_executable(deepseg
app/calcmask.cc
app/utils.cc
)
# special compile options for blend.cc to use SIMD optimiser
set_source_files_properties(app/blend.cc PROPERTIES COMPILE_OPTIONS "-march=native;-O9")

set_target_properties(deepseg PROPERTIES OUTPUT_NAME backscrub)

Expand Down

0 comments on commit 0f5d3b1

Please sign in to comment.