File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ message(STATUS "Building with IPO: off")
11
11
set (OPENFPGA_IPO_BUILD "off" CACHE STRING "Should be compiled with LTO?" )
12
12
set_property (CACHE OPENFPGA_IPO_BUILD PROPERTY STRINGS auto off off )
13
13
14
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -mavx2 -march=haswell" )
15
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -mavx2 -march=haswell" )
14
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -O1 - mavx2 -march=haswell" )
15
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -O1 - mavx2 -march=haswell" )
16
16
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fPIC -O1 -mavx2 -march=haswell" )
17
17
18
18
file (GLOB_RECURSE EXEC_SOURCE src/main.cpp )
@@ -49,5 +49,7 @@ target_link_libraries(libPlanner
49
49
add_executable (stars ${EXEC_SOURCE} )
50
50
target_link_libraries (stars libPlanner libvpr )
51
51
52
+ set_target_properties (stars libPlanner PROPERTIES INTERPROCEDURAL_OPTIMIZATION OFF )
53
+
52
54
install (TARGETS stars DESTINATION bin )
53
55
You can’t perform that action at this time.
0 commit comments