fix llvm build inside conda environment (see link for similar issue)
https://github.com/tensorflow/tensorflow/issues/12998
This commit is contained in:
committed by
Philippe Tillet
parent
7af9d812cf
commit
7fdf2e378c
@@ -21,7 +21,7 @@ endif()
|
||||
|
||||
# Compiler flags
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_FORMAT_MACROS -std=gnu++11")
|
||||
|
||||
# Tests
|
||||
if(BUILD_TESTS)
|
||||
|
Reference in New Issue
Block a user