Commit e94e3d15 authored by Chris Toshok's avatar Chris Toshok

don't pgo llvm. benchmarks don't seem affected and it should help out with build times

parent 5a760604
......@@ -96,10 +96,6 @@ macro(REMOVE_PROFILE_FLAGS)
string(REPLACE "${PROFILE_CXX_FLAGS}" "" CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}")
endmacro()
if(${CMAKE_BUILD_TYPE} STREQUAL "Release" AND ENABLE_PGO)
ADD_PROFILE_FLAGS()
endif()
# llvm disable debug info unless ENABLE_LLVM_DEBUG is ON
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug" AND NOT ENABLE_LLVM_DEBUG)
set(CMAKE_CXX_FLAGS_DEBUG "-O3" CACHE STRING "" FORCE)
......@@ -247,6 +243,10 @@ find_package(LibLZMA REQUIRED)
link_directories(${CMAKE_BINARY_DIR}/libunwind/lib)
link_directories(${LLVM_LIBRARY_DIRS})
if(${CMAKE_BUILD_TYPE} STREQUAL "Release" AND ENABLE_PGO)
ADD_PROFILE_FLAGS()
endif()
add_subdirectory(lib_pyston)
add_subdirectory(from_cpython)
add_subdirectory(src)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment