Ignore:
Timestamp:
Mar 25, 2016, 5:42:03 PM (3 years ago)
Author:
nmedfort
Message:

Symbol table work and untested kernel instatiate method for multiple input streams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/CMakeLists.txt

    r4988 r4991  
    4949set(Boost_USE_MULTITHREADED OFF)
    5050set(Boost_USE_STATIC_RUNTIME ON)
    51 
    52 find_package(Boost 1.46 COMPONENTS system iostreams filesystem REQUIRED)
     51find_package(Boost 1.46 REQUIRED COMPONENTS system filesystem iostreams)
     52
     53include_directories("${Boost_INCLUDE_DIRS}")
     54link_directories(${Boost_LIBRARY_DIR})
     55SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_BOOST")
    5356
    5457SET(PABLO_SRC pablo/pabloAST.cpp pablo/ps_if.cpp pablo/ps_while.cpp pablo/function.cpp pablo/codegenstate.cpp pablo/builder.cpp pablo/symbol_generator.cpp pablo/printer_pablos.cpp pablo/pablo_toolchain.cpp)
    55 SET(PABLO_SRC ${PABLO_SRC} pablo/pablo_compiler.cpp pablo/carry_manager.cpp pablo/carry_data.cpp IDISA/idisa_builder.cpp IDISA/idisa_avx_builder.cpp IDISA/idisa_i64_builder.cpp IDISA/idisa_sse_builder.cpp IDISA/idisa_target.cpp kernels/s2p_kernel.cpp kernels/scanmatchgen.cpp kernels/kernel.cpp kernels/pipeline.cpp)
     58SET(PABLO_SRC ${PABLO_SRC} pablo/pablo_compiler.cpp pablo/carry_manager.cpp pablo/carry_data.cpp IDISA/idisa_builder.cpp IDISA/idisa_avx_builder.cpp IDISA/idisa_i64_builder.cpp IDISA/idisa_sse_builder.cpp IDISA/idisa_target.cpp)
     59SET(PABLO_SRC ${PABLO_SRC} kernels/s2p_kernel.cpp kernels/scanmatchgen.cpp kernels/kernel.cpp kernels/pipeline.cpp)
    5660SET(PABLO_SRC ${PABLO_SRC} pablo/analysis/pabloverifier.cpp)
    5761SET(PABLO_SRC ${PABLO_SRC} pablo/optimizers/pablo_simplifier.cpp pablo/optimizers/codemotionpass.cpp)
     
    106110add_executable(icgrep icgrep.cpp toolchain.cpp grep_engine.cpp object_cache.cpp ${PRECOMPILED_FILES})
    107111add_executable(casefold casefold.cpp kernels/p2s_kernel.cpp kernels/stdout_kernel.cpp kernels/casefold_pipeline.cpp)
     112add_executable(symtbl symboltable.cpp kernels/symboltablepipeline.cpp toolchain.cpp grep_engine.cpp object_cache.cpp ${PRECOMPILED_FILES})
    108113
    109114IF(ENABLE_PREGENERATED_UCD_FUNCTIONS)
    110115add_dependencies(icgrep run_generate_predefined_ucd_functions)
    111116ENDIF()
    112 IF(Boost_FOUND)
    113     include_directories("${Boost_INCLUDE_DIRS}")
    114     link_directories(${Boost_LIBRARY_DIR})
    115     SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_BOOST")
    116     target_link_libraries(icgrep ${Boost_LIBRARIES})
    117     target_link_libraries(casefold ${Boost_LIBRARIES})
    118 ENDIF()
     117
    119118IF (PRINT_TIMING_INFORMATION)
    120119    find_package(PAPI REQUIRED)
     
    123122ENDIF()
    124123
     124target_link_libraries(icgrep ${Boost_LIBRARIES})
     125target_link_libraries(symtbl ${Boost_LIBRARIES})
     126target_link_libraries(casefold ${Boost_LIBRARIES})
    125127
    126128target_link_libraries (icgrep UCDlib PabloADT RegExpCompiler CCADT ${REQ_LLVM_LIBRARIES})
     129target_link_libraries (symtbl UCDlib PabloADT RegExpCompiler CCADT ${REQ_LLVM_LIBRARIES})
    127130target_link_libraries (casefold UCDlib PabloADT RegExpCompiler CCADT ${REQ_LLVM_LIBRARIES})
    128131
Note: See TracChangeset for help on using the changeset viewer.