Revision ca33e31259418265010c512f4415f4366cd704a2 authored by Doug Gregor on 20 January 2016, 21:41:06 UTC, committed by Doug Gregor on 21 January 2016, 01:01:07 UTC
This egregious hack makes it so that we can properly dump APIs using
"-enable-omit-needless-words" even when the compiler was built without
it.
1 parent 107f4ee
Raw File
CMakeLists.txt
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
  # Performance test harness only builds on Darwin.
  set(PERF_TESTSUITE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/PerfTestSuite" CACHE STRING "Path to swift performance testsuite repo.")
  if(EXISTS ${PERF_TESTSUITE_DIR}/CMakeLists.txt)
    add_subdirectory(${PERF_TESTSUITE_DIR})
  else()
    message(FATAL_ERROR "Can't find the Swift performance suite at ${PERF_TESTSUITE_DIR}/.")
  endif()
endif()

back to top