Changeset 3924 for trunk/lib_ir


Ignore:
Timestamp:
Jul 22, 2014, 5:25:31 PM (5 years ago)
Author:
linmengl
Message:

copy perf_script in and add 'perf_xmlwf' target. 'make perf_xmlwf' will give the perf result

Location:
trunk/lib_ir
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib_ir/CMakeLists.txt

    r3922 r3924  
    33
    44set(CXX_SSE_FLAGS "-msse2")
    5 set(CMAKE_CXX_FLAGS "${CXX_SSE_FLAGS} -O3 -std=c++11")
     5set(CMAKE_CXX_FLAGS "${CXX_SSE_FLAGS} -O3 -std=c++11 -DBUFFER_PROFILING -DPERF_SCRIPT")
    66
    77set(LLVM_OPT "opt-svn")
     
    4040  COMMAND ${CMAKE_CTEST_COMMAND}
    4141  DEPENDS test_s2p test_link test_pack xmlwf)
     42
     43add_custom_target (perf_xmlwf
     44  COMMAND python ${PROJECT_SOURCE_DIR}/xmlwf/perf_script.py
     45  DEPENDS xmlwf)
Note: See TracChangeset for help on using the changeset viewer.