Index: MultiSource/Applications/ALAC/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/ALAC/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Applications/ALAC/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS encode decode) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/ALAC/decode/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/ALAC/decode/CMakeLists.txt @@ -0,0 +1,21 @@ +# Autogenerated from MultiSource/Applications/ALAC/decode/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +if("${ENDIAN}" STREQUAL "little") + list(APPEND CFLAGS -DTARGET_RT_LITTLE_ENDIAN=1) + list(APPEND CXXFLAGS -DTARGET_RT_LITTLE_ENDIAN=1) +else() + list(APPEND CFLAGS -DTARGET_RT_BIG_ENDIAN=1) + list(APPEND CXXFLAGS -DTARGET_RT_BIG_ENDIAN=1) +endif() +set(LDFLAGS -lstdc++) +set(PROG alacconvert-decode) +set(Sources EndianPortable.c ALACBitUtilities.c ALACDecoder.cpp ALACEncoder.cpp ag_dec.c ag_enc.c dp_dec.c dp_enc.c matrix_dec.c matrix_enc.c main.cpp CAFFileALAC.cpp) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/tune.caf) +set(RUN_OPTIONS - -) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/ALAC/encode/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/ALAC/encode/CMakeLists.txt @@ -0,0 +1,21 @@ +# Autogenerated from MultiSource/Applications/ALAC/encode/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +if("${ENDIAN}" STREQUAL "little") + list(APPEND CFLAGS -DTARGET_RT_LITTLE_ENDIAN=1) + list(APPEND CXXFLAGS -DTARGET_RT_LITTLE_ENDIAN=1) +else() + list(APPEND CFLAGS -DTARGET_RT_BIG_ENDIAN=1) + list(APPEND CXXFLAGS -DTARGET_RT_BIG_ENDIAN=1) +endif() +set(LDFLAGS -lstdc++) +set(PROG alacconvert-encode) +set(Sources EndianPortable.c ALACBitUtilities.c ALACDecoder.cpp ALACEncoder.cpp ag_dec.c ag_enc.c dp_dec.c dp_enc.c matrix_dec.c matrix_enc.c main.cpp CAFFileALAC.cpp) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/tune.wav) +set(RUN_OPTIONS - -) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/Burg/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/Burg/CMakeLists.txt @@ -0,0 +1,20 @@ +# Autogenerated from MultiSource/Applications/Burg/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG burg) +set(CPPFLAGS -DDEBUG) +list(APPEND CFLAGS -std=gnu89) +set(LDFLAGS -lstdc++) +set(ExtraSource ${CMAKE_CURRENT_BINARY_DIR}/y.tab.c) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/sample.gr) +file(GLOB TMP1 ${CMAKE_CURRENT_SOURCE_DIR}/*.c) +set(Source ${ExtraSource} ${TMP1}) + +include_directories(${CMAKE_CURRENT_BINARY_DIR}) +add_yacc_parser(burg_parser gram.y ${CMAKE_CURRENT_BINARY_DIR}/y.tab.c ${CMAKE_CURRENT_BINARY_DIR}/y.tab.h) + llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/CMakeLists.txt @@ -0,0 +1,52 @@ +# Autogenerated from MultiSource/Applications/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../..) +set(PARALLEL_DIRS Burg aha sgefa siod d spiff treecc SPASS oggenc JM viterbi SIBsim4 ClamAV sqlite3 lemon) +if(NOT DEFINED DISABLE_CXX) + list(APPEND PARALLEL_DIRS lambda-0.1.3 hbd hexxagon minisat ALAC) +endif() +if(NOT DEFINED SMALL_PROBLEM_SIZE) + list(APPEND PARALLEL_DIRS lua) +endif() +if("${TARGET_OS}" STREQUAL "Linux") + list(APPEND PARALLEL_DIRS obsequi) +endif() +if(NOT "${TARGET_OS}" STREQUAL "SunOS") + if(NOT DEFINED DISABLE_CXX) + list(APPEND PARALLEL_DIRS kimwitu++) + endif() +endif() +if("${TARGET_OS}" STREQUAL "SunOS") + llvm_filter_out(TMP1 SPASS ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP1}) + llvm_filter_out(TMP2 hexxagon ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP2}) +endif() +if("${ARCH}" STREQUAL "XCore") + llvm_filter_out(TMP3 siod ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP3}) + llvm_filter_out(TMP4 ClamAV ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP4}) + llvm_filter_out(TMP5 sqlite3 ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP5}) + llvm_filter_out(TMP6 obsequi ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP6}) + llvm_filter_out(TMP7 lemon ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP7}) +endif() +if("${ARCH}" STREQUAL "PowerPC") + llvm_filter_out(TMP8 sqlite3 ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP8}) +endif() +if(DEFINED BENCHMARKING_ONLY) + llvm_filter_out(TMP9 Burg ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP9}) + llvm_filter_out(TMP10 treecc ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP10}) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/ClamAV/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/ClamAV/CMakeLists.txt @@ -0,0 +1,85 @@ +# Autogenerated from MultiSource/Applications/ClamAV/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../) +set(TMP1 aspack.c autoit.c binhex.c blob.c cab.c chmunpack.c cvd.c dconf.c dsig.c elf.c entconv.c filetypes.c fsg.c hashtab.c htmlnorm.c is_tar.c jscript.c line.c lockdb.c matcher-ac.c matcher-bm.c matcher.c mbox.c md5.c message.c mew.c msexpand.c mspack.c ole2_extract.c others.c packlibs.c pdf.c pe.c petite.c phishcheck.c phish_domaincheck_db.c phish_whitelist.c pst.c readdb.c rebuildpe.c regex_list.c rtf.c scanners.c sis.c snprintf.c special.c spin.c str.c suecrypt.c table.c text.c tnef.c unarj.c unsp.c untar.c unzip.c upack.c upx.c uuencode.c vba_extract.c wwunpack.c yc.c) +llvm_prepend(TMP1 libclamav_ ${TMP1}) +set(TMP2 clamscan.c manager.c others.c treewalk.c) +llvm_prepend(TMP2 clamscan_ ${TMP2}) +set(TMP3 cdiff.c cfgparser.c getopt.c misc.c network.c options.c output.c sha256.c) +llvm_prepend(TMP3 shared_ ${TMP3}) +set(TMP4 regerror.c regfree.c regcomp.c regexec.c strlcpy.c) +llvm_prepend(TMP4 libclamav_regex_ ${TMP4}) +set(TMP5 nulsft.c bzlib.c infblock.c LZMADecode.c ) +llvm_prepend(TMP5 libclamav_nsis_ ${TMP5}) +set(Source ${TMP1} ${TMP2} ${TMP3} ${TMP4} ${TMP5}) +set(INPUT ${CMAKE_CURRENT_SOURCE_DIR}/inputs/clam.cab ${CMAKE_CURRENT_SOURCE_DIR}/inputs/clamdoc.tar.gz ${CMAKE_CURRENT_SOURCE_DIR}/inputs/clam.exe ${CMAKE_CURRENT_SOURCE_DIR}/inputs/clam.exe.bz2 ${CMAKE_CURRENT_SOURCE_DIR}/inputs/clam-v2.rar ${CMAKE_CURRENT_SOURCE_DIR}/inputs/clam-v3.rar ${CMAKE_CURRENT_SOURCE_DIR}/inputs/clam.zip ${CMAKE_CURRENT_SOURCE_DIR}/inputs/README ${CMAKE_CURRENT_SOURCE_DIR}/inputs/rtf-test/Doc11.rtf ${CMAKE_CURRENT_SOURCE_DIR}/inputs/rtf-test/Doc1.rtf ${CMAKE_CURRENT_SOURCE_DIR}/inputs/rtf-test/Doc22.rtf ${CMAKE_CURRENT_SOURCE_DIR}/inputs/rtf-test/Doc2.rtf ${CMAKE_CURRENT_SOURCE_DIR}/inputs/rtf-test/doc3.rtf ${CMAKE_CURRENT_SOURCE_DIR}/inputs/rtf-test/docCLAMexe.rtf ${CMAKE_CURRENT_SOURCE_DIR}/inputs/rtf-test/rtf1.rtf ${CMAKE_CURRENT_SOURCE_DIR}/inputs/rtf-test/rtf-novirus.rtf) +set(PROG clamscan) +list(APPEND CPPFLAGS -DHAVE_CONFIG_H -I. -DDONT_LOCK_DBDIRS) +set(LDFLAGS -lz) +set(RUN_OPTIONS --debug --exclude-dir .svn --verbose -d${CMAKE_CURRENT_SOURCE_DIR}/dbdir -r ${INPUT}) +if("${TARGET_OS}" STREQUAL "Darwin") + list(APPEND CPPFLAGS -DC_DARWIN) +endif() +if("${TARGET_OS}" STREQUAL "AIX") + list(APPEND CPPFLAGS -DC_AIX) +endif() +if("${TARGET_OS}" STREQUAL "IRIX") + list(APPEND CPPFLAGS -DC_IRIX) +endif() +if("${TARGET_OS}" STREQUAL "Cygwin") + list(APPEND CPPFLAGS -DC_CYGWIN) +endif() +if("${TARGET_OS}" STREQUAL "FreeBSD") + list(APPEND CPPFLAGS -DC_BSD) +endif() +if("${TARGET_OS}" STREQUAL "OpenBSD") + list(APPEND CPPFLAGS -DC_BSD) +endif() +if("${TARGET_OS}" STREQUAL "NetBSD") + list(APPEND CPPFLAGS -DC_BSD) +endif() +if("${TARGET_OS}" STREQUAL "HP-UX") + list(APPEND CPPFLAGS -DC_HPUX) +endif() +if("${TARGET_OS}" STREQUAL "Interix") + list(APPEND CPPFLAGS -DC_INTERIX -DC_WINDOWS) +endif() +if("${TARGET_OS}" STREQUAL "Win32") + list(APPEND CPPFLAGS -DC_WINDOWS) +endif() +if("${TARGET_OS}" STREQUAL "mingw") + list(APPEND CPPFLAGS -DC_WINDOWS) +endif() +if("${TARGET_OS}" STREQUAL "Linux") + list(APPEND CPPFLAGS -DC_LINUX) +endif() +if(NOT "${ARCH}" STREQUAL "ARM") + if("${ENDIAN}" STREQUAL "little") + list(APPEND CPPFLAGS -DFPU_WORDS_BIGENDIAN=0) + endif() + if("${ENDIAN}" STREQUAL "big") + list(APPEND CPPFLAGS -DFPU_WORDS_BIGENDIAN=1) + endif() +endif() +if("${ENDIAN}" STREQUAL "little") + list(APPEND CPPFLAGS -DWORDS_BIGENDIAN=0) +endif() +if("${ENDIAN}" STREQUAL "big") + list(APPEND CPPFLAGS -DWORDS_BIGENDIAN=1) +endif() +set(DIFFPROG ${PROGDIR}/DiffOutput.sh "diff ") +if("${TARGET_OS}" STREQUAL "Darwin") + list(APPEND EXTRA_LLIFLAGS -load=libz.dylib) +else() + if("${TARGET_OS}" STREQUAL "Linux") + list(APPEND EXTRA_LLIFLAGS -load=libz.so.1) + else() + list(APPEND EXTRA_LLIFLAGS -load=libz) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/JM/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/JM/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Applications/JM/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS ldecod lencod) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/JM/ldecod/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/JM/ldecod/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Applications/JM/ldecod/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG ldecod) +set(CPPFLAGS -D __USE_LARGEFILE64 -D _FILE_OFFSET_BITS=64) +set(LDFLAGS -lm ${TOOLLINKOPTS}) +set(RUN_OPTIONS -i ${CMAKE_CURRENT_SOURCE_DIR}/data/test.264 -o Output/test_dec.yuv -r ${CMAKE_CURRENT_SOURCE_DIR}/data/test_rec.yuv) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/JM/lencod/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/JM/lencod/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from MultiSource/Applications/JM/lencod/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG lencod) +set(CPPFLAGS -D __USE_LARGEFILE64 -D _FILE_OFFSET_BITS=64) +set(LDFLAGS -lm ${TOOLLINKOPTS}) +set(FP_TOLERANCE 0.025) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS -d ${CMAKE_CURRENT_SOURCE_DIR}/data/encoder_small.cfg -p InputFile=${CMAKE_CURRENT_SOURCE_DIR}/data/foreman_part_qcif_444.yuv -p LeakyBucketRateFile=${CMAKE_CURRENT_SOURCE_DIR}/data/leakybucketrate.cfg -p QmatrixFile=${CMAKE_CURRENT_SOURCE_DIR}/data/q_matrix.cfg) +else() + set(RUN_OPTIONS -d ${CMAKE_CURRENT_SOURCE_DIR}/data/encoder.cfg -p InputFile=${CMAKE_CURRENT_SOURCE_DIR}/data/foreman_part_qcif_444.yuv -p LeakyBucketRateFile=${CMAKE_CURRENT_SOURCE_DIR}/data/leakybucketrate.cfg -p QmatrixFile=${CMAKE_CURRENT_SOURCE_DIR}/data/q_matrix.cfg) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/SIBsim4/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/SIBsim4/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Applications/SIBsim4/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG SIBsim4) +set(CPPFLAGS ) +set(LDFLAGS ) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS -A4 ${CMAKE_CURRENT_SOURCE_DIR}/x-small.fa ${CMAKE_CURRENT_SOURCE_DIR}/y-small.fa) +else() + set(RUN_OPTIONS -A4 ${CMAKE_CURRENT_SOURCE_DIR}/x.fa ${CMAKE_CURRENT_SOURCE_DIR}/y.fa) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/SPASS/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/SPASS/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from MultiSource/Applications/SPASS/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG SPASS) +set(CPPFLAGS -DCLOCK_NO_TIMING -fno-strict-aliasing -w) +set(LDFLAGS -lm) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS "${CMAKE_CURRENT_SOURCE_DIR}/small_problem.dfg") +else() + set(RUN_OPTIONS "${CMAKE_CURRENT_SOURCE_DIR}/problem.dfg") +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/aha/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/aha/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Applications/aha/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG aha) +set(CPPFLAGS ) +set(LDFLAGS ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/d/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/d/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Applications/d/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG make_dparser) +set(Source make_dparser.c write_ctables.c gram.c lex.c lr.c arg.c parse.c scan.c symtab.c util.c version.c grammar.g.c) +set(CPPFLAGS -DD_BUILD_VERSION=5725) +set(RUN_OPTIONS -v ${CMAKE_CURRENT_SOURCE_DIR}/grammar.g) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/hbd/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/hbd/CMakeLists.txt @@ -0,0 +1,15 @@ +# Autogenerated from MultiSource/Applications/hbd/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG hbd) +list(APPEND CPPFLAGS -DHAVE_CONFIG_H) +list(APPEND LDFLAGS -lstdc++) +list(APPEND LIBS -lstdc++) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/Sort.class) +set(REQUIRES_EH_SUPPORT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/hexxagon/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/hexxagon/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Applications/hexxagon/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG hexxagon) +set(REQUIRES_EH_SUPPORT 1) +list(APPEND LDFLAGS -lstdc++) +list(APPEND LIBS -lstdc++) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/input) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/kimwitu++/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/kimwitu++/CMakeLists.txt @@ -0,0 +1,15 @@ +# Autogenerated from MultiSource/Applications/kimwitu++/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG kc) +set(CPPFLAGS -I${CMAKE_CURRENT_SOURCE_DIR} -DYYDEBUG=1) +set(LDFLAGS -lstdc++) +list(APPEND LIBS -lstdc++) +set(RUN_OPTIONS -f test -o -v -s kcc ${CMAKE_CURRENT_SOURCE_DIR}/inputs/f3.k ${CMAKE_CURRENT_SOURCE_DIR}/inputs/f2.k ${CMAKE_CURRENT_SOURCE_DIR}/inputs/f1.k) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/kimwitu++/doc/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/kimwitu++/doc/CMakeLists.txt @@ -0,0 +1,35 @@ +# Autogenerated from MultiSource/Applications/kimwitu++/doc/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(XMLs kpp-main.xml kpp-intro.xml kpp-manual.xml kpp-cook.xml kpp-rpn.xml) +set(FIGs syntaxtreex.fig simplify.fig fprintdot.fig) +set(FIGDIR figures) +set(IMGDIR imagesgen) +set(DEST manual) +string(REPLACE .fig .eps TMP1 ${FIGs}) +set(EPSs ${TMP1}) +string(REPLACE .fig .pdf TMP2 ${FIGs}) +set(PDFs ${TMP2}) +string(REPLACE .fig .png TMP3 ${FIGs}) +set(PNGs ${TMP3}) +string(REPLACE .fig .tex TMP4 ${FIGs}) +set(TMP5 ${TMP4}) +llvm_prepend(TMP5 ${IMGDIR}/ ${TMP5}) +set(PSTEXs ${TMP5}) +set(TMP6 ${FIGs}) +llvm_prepend(TMP6 ${FIGDIR}/ ${TMP6}) +set(FIGs ${TMP6}) +set(TMP7 ${EPSs}) +llvm_prepend(TMP7 ${IMGDIR}/ ${TMP7}) +set(EPSs ${TMP7}) +set(TMP8 ${PDFs}) +llvm_prepend(TMP8 ${IMGDIR}/ ${TMP8}) +set(PDFs ${TMP8}) +set(TMP9 ${PNGs}) +llvm_prepend(TMP9 ${IMGDIR}/ ${TMP9}) +set(PNGs ${TMP9}) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/lambda-0.1.3/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/lambda-0.1.3/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Applications/lambda-0.1.3/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG lambda) +list(APPEND LDFLAGS -lstdc++) +list(APPEND LIBS -lstdc++) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/input) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/lemon/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/lemon/CMakeLists.txt @@ -0,0 +1,15 @@ +# Autogenerated from MultiSource/Applications/lemon/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../) +set(Source lemon.c) +set(PROG lemon) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/parse.y ${CMAKE_CURRENT_SOURCE_DIR}/example1.y ${CMAKE_CURRENT_SOURCE_DIR}/example2.y ${CMAKE_CURRENT_SOURCE_DIR}/example3.y ${CMAKE_CURRENT_SOURCE_DIR}/example4.y ${CMAKE_CURRENT_SOURCE_DIR}/example5.y ${CMAKE_CURRENT_SOURCE_DIR}/lighttpd_configparser.y ${CMAKE_CURRENT_SOURCE_DIR}/lighttpd_mod_ssi_exprparser.y ${CMAKE_CURRENT_SOURCE_DIR}/wireshark_dtd_grammar.lemon ${CMAKE_CURRENT_SOURCE_DIR}/wireshark_grammar.lemon ${CMAKE_CURRENT_SOURCE_DIR}/wireshark_mate_grammar.lemon ${CMAKE_CURRENT_SOURCE_DIR}/xapian_queryparser.lemony ${CMAKE_CURRENT_SOURCE_DIR}/ecmascript.y) +set(HASH_PROGRAM_OUTPUT 1) +set(RUNTIMELIMIT 1500) +set(DIFFPROG ${PROGDIR}/DiffOutput.sh "diff ") +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/lua/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/lua/CMakeLists.txt @@ -0,0 +1,31 @@ +# Autogenerated from MultiSource/Applications/lua/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../) +set(Source lapi.c lcode.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c lauxlib.c lbaselib.c ldblib.c liolib.c lmathlib.c loslib.c ltablib.c lstrlib.c loadlib.c linit.c lua.c) +list(APPEND LDFLAGS -lm) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 128) +else() + list(APPEND CPPFLAGS -DLUA_USE_POSIX) +endif() +set(PROG lua) +set(RUN_OPTIONS alltests.lua "") +set(HASH_PROGRAM_OUTPUT 1) +set(DIFFPROG ${PROGDIR}/DiffOutput.sh "diff ") + +add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/generate_inputs.sh + COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/generate_inputs.sh ${CMAKE_CURRENT_BINARY_DIR} + COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/test ${CMAKE_CURRENT_BINARY_DIR} + COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/bench ${CMAKE_CURRENT_BINARY_DIR} + COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/input ${CMAKE_CURRENT_BINARY_DIR} + COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/*.lua ${CMAKE_CURRENT_BINARY_DIR} + COMMAND ${CMAKE_CURRENT_BINARY_DIR}/generate_inputs.sh + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + COMMENT "Generating lua test inputs") +add_custom_target(lua_input SOURCES ${CMAKE_CURRENT_BINARY_DIR}/generate_inputs.sh) + llvm_multisource() +add_dependencies(lua lua_input) +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/minisat/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/minisat/CMakeLists.txt @@ -0,0 +1,29 @@ +# Autogenerated from MultiSource/Applications/minisat/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG minisat) +set(CPPFLAGS -D NDEBUG) +set(LDFLAGS -lstdc++ -lm) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS -verbosity=0 ${CMAKE_CURRENT_SOURCE_DIR}/small.cnf) +else() + if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS -verbosity=0 ${CMAKE_CURRENT_SOURCE_DIR}/long.cnf) + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) + endif() + else() + set(RUN_OPTIONS -verbosity=0 ${CMAKE_CURRENT_SOURCE_DIR}/short.cnf) + endif() +endif() +set(FP_TOLERANCE 0.1) +if("${TARGET_OS}" STREQUAL "Darwin") + set(SHLIBEXT .dylib) +endif() +list(APPEND JIT_OPTS -load libz${SHLIBEXT}) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/obsequi/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/obsequi/CMakeLists.txt @@ -0,0 +1,22 @@ +# Autogenerated from MultiSource/Applications/obsequi/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG Obsequi) +list(APPEND CPPFLAGS -DCOUNTBITS16 -DLASTBIT16 -DCOUNTMOVES_TABLE) +list(APPEND CPPFLAGS -DTWO_STAGE_GENERATION) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CPPFLAGS -DHASHCODEBITS=15) +else() + list(APPEND CPPFLAGS -DHASHCODEBITS=23) +endif() +if(NOT "${ARCH}" STREQUAL "PowerPC") + set(LDFLAGS -lsupc++) + list(APPEND LIBS -lsupc++) +endif() +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/input) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/oggenc/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/oggenc/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Applications/oggenc/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG oggenc) +set(CPPFLAGS -fno-strict-aliasing) +set(LDFLAGS -lm) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/tune) +set(RUN_OPTIONS "-Q -s 901820 -") +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/sgefa/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/sgefa/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Applications/sgefa/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG sgefa) +set(LDFLAGS -lm) +set(FP_TOLERANCE 0.0001) +if(DEFINED LARGE_PROBLEM_SIZE) + set(CPPFLAGS -DSCALE=50) +else() + set(CPPFLAGS -DSCALE=40) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/siod/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/siod/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Applications/siod/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG siod) +set(CPPFLAGS -D__USE_MISC -D__USE_GNU -D__USE_SVID -D__USE_XOPEN_EXTENDED -D__USE_XOPEN -Dunix) +set(LDFLAGS -lm ${TOOLLINKOPTS}) +set(RUN_OPTIONS -v1 ${CMAKE_CURRENT_SOURCE_DIR}/test.scm) +set(USE_REFERENCE_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/spiff/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/spiff/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from MultiSource/Applications/spiff/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG spiff) +set(CPPFLAGS ) +set(LDFLAGS ) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/Sample.3 ${CMAKE_CURRENT_SOURCE_DIR}/Sample.4) +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(XCORE_TARGET_NEEDS_MEMORY 1024) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/sqlite3/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/sqlite3/CMakeLists.txt @@ -0,0 +1,31 @@ +# Autogenerated from MultiSource/Applications/sqlite3/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../) +set(Source sqlite3.c shell.c) +set(PROG sqlite3) +list(APPEND CPPFLAGS -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -I.) +set(LDFLAGS ) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/commands) +set(RUN_OPTIONS :memory:) +set(FP_TOLERANCE 1.0e-9) +set(GeneratedTestInputs ${CMAKE_CURRENT_BINARY_DIR}/test15.sql) +if(DEFINED SMALL_PROBLEM_SIZE) +else() +endif() + +if(SMALL_PROBLEM_SIZE) + set(SQLITE_INPUTNAME smalltest) +else() + set(SQLITE_INPUTNAME speedtest) +endif() +add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/test15.sql + COMMAND ${TCL_TCLSH} ${CMAKE_CURRENT_SOURCE_DIR}/${SQLITE_INPUTNAME}.tcl + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + COMMENT "Generating sqlite test inputs") +add_custom_target(sqlite_input SOURCES ${CMAKE_CURRENT_BINARY_DIR}/test15.sql) + llvm_multisource() +add_dependencies(sqlite3 sqlite_input) +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/treecc/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/treecc/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Applications/treecc/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG treecc) +set(RUN_OPTIONS -n ${CMAKE_CURRENT_SOURCE_DIR}/examples/expr_cpp.tc) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Applications/viterbi/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Applications/viterbi/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Applications/viterbi/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG viterbi) +set(CPPFLAGS -I${CMAKE_CURRENT_SOURCE_DIR} -DPROJ_SRC_DIR=\\"${CMAKE_CURRENT_SOURCE_DIR}\\") +set(LDFLAGS ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/7zip/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/7zip/CMakeLists.txt @@ -0,0 +1,29 @@ +# Autogenerated from MultiSource/Benchmarks/7zip/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG 7zip-benchmark) +set(RUN_OPTIONS b) +list(APPEND CFLAGS -DBREAK_HANDLER -DUNICODE -D_UNICODE -I${CMAKE_CURRENT_SOURCE_DIR}/C -I${CMAKE_CURRENT_SOURCE_DIR}/CPP/myWindows -I${CMAKE_CURRENT_SOURCE_DIR}/CPP/include_windows -I${CMAKE_CURRENT_SOURCE_DIR}/CPP -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -pthread) +list(APPEND CXXFLAGS -DBREAK_HANDLER -DUNICODE -D_UNICODE -I${CMAKE_CURRENT_SOURCE_DIR}/C -I${CMAKE_CURRENT_SOURCE_DIR}/CPP/myWindows -I${CMAKE_CURRENT_SOURCE_DIR}/CPP/include_windows -I${CMAKE_CURRENT_SOURCE_DIR}/CPP -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -pthread) +set(LDFLAGS -lstdc++ -pthread) +set(Source CPP/myWindows/myGetTickCount.cpp CPP/myWindows/wine_date_and_time.cpp CPP/myWindows/myAddExeFlag.cpp CPP/myWindows/mySplitCommandLine.cpp CPP/7zip/UI/Console/BenchCon.cpp CPP/7zip/UI/Console/ConsoleClose.cpp CPP/7zip/UI/Console/ExtractCallbackConsole.cpp CPP/7zip/UI/Console/List.cpp CPP/7zip/UI/Console/Main.cpp CPP/7zip/UI/Console/MainAr.cpp CPP/7zip/UI/Console/OpenCallbackConsole.cpp CPP/7zip/UI/Console/PercentPrinter.cpp CPP/7zip/UI/Console/UpdateCallbackConsole.cpp CPP/7zip/UI/Console/UserInputUtils.cpp CPP/Common/CommandLineParser.cpp CPP/Common/CRC.cpp CPP/Common/IntToString.cpp CPP/Common/ListFileUtils.cpp CPP/Common/StdInStream.cpp CPP/Common/StdOutStream.cpp CPP/Common/MyString.cpp CPP/Common/StringConvert.cpp CPP/Common/StringToInt.cpp CPP/Common/UTFConvert.cpp CPP/Common/MyWindows.cpp CPP/Common/MyVector.cpp CPP/Common/Wildcard.cpp CPP/Windows/Error.cpp CPP/Windows/FileDir.cpp CPP/Windows/FileFind.cpp CPP/Windows/FileIO.cpp CPP/Windows/FileName.cpp CPP/Windows/PropVariant.cpp CPP/Windows/PropVariantConversions.cpp CPP/Windows/Synchronization.cpp CPP/Windows/System.cpp CPP/Windows/Time.cpp CPP/7zip/Common/CreateCoder.cpp CPP/7zip/Common/CWrappers.cpp CPP/7zip/Common/FilePathAutoRename.cpp CPP/7zip/Common/FileStreams.cpp CPP/7zip/Common/FilterCoder.cpp CPP/7zip/Common/InBuffer.cpp CPP/7zip/Common/InOutTempBuffer.cpp CPP/7zip/Common/LimitedStreams.cpp CPP/7zip/Common/LockedStream.cpp CPP/7zip/Common/MemBlocks.cpp CPP/7zip/Common/MethodId.cpp CPP/7zip/Common/MethodProps.cpp CPP/7zip/Common/OffsetStream.cpp CPP/7zip/Common/OutBuffer.cpp CPP/7zip/Common/OutMemStream.cpp CPP/7zip/Common/ProgressMt.cpp CPP/7zip/Common/ProgressUtils.cpp CPP/7zip/Common/StreamBinder.cpp CPP/7zip/Common/StreamObjects.cpp CPP/7zip/Common/StreamUtils.cpp CPP/7zip/Common/VirtThread.cpp CPP/7zip/UI/Common/ArchiveCommandLine.cpp CPP/7zip/UI/Common/ArchiveExtractCallback.cpp CPP/7zip/UI/Common/ArchiveOpenCallback.cpp CPP/7zip/UI/Common/Bench.cpp CPP/7zip/UI/Common/DefaultName.cpp CPP/7zip/UI/Common/EnumDirItems.cpp CPP/7zip/UI/Common/Extract.cpp CPP/7zip/UI/Common/ExtractingFilePath.cpp CPP/7zip/UI/Common/LoadCodecs.cpp CPP/7zip/UI/Common/OpenArchive.cpp CPP/7zip/UI/Common/PropIDUtils.cpp CPP/7zip/UI/Common/SetProperties.cpp CPP/7zip/UI/Common/SortUtils.cpp CPP/7zip/UI/Common/TempFiles.cpp CPP/7zip/UI/Common/Update.cpp CPP/7zip/UI/Common/UpdateAction.cpp CPP/7zip/UI/Common/UpdateCallback.cpp CPP/7zip/UI/Common/UpdatePair.cpp CPP/7zip/UI/Common/UpdateProduce.cpp CPP/7zip/Archive/Bz2Handler.cpp CPP/7zip/Archive/DeflateProps.cpp CPP/7zip/Archive/GzHandler.cpp CPP/7zip/Archive/LzmaHandler.cpp CPP/7zip/Archive/PpmdHandler.cpp CPP/7zip/Archive/SplitHandler.cpp CPP/7zip/Archive/XzHandler.cpp CPP/7zip/Archive/ZHandler.cpp CPP/7zip/Archive/Common/CoderMixer2.cpp CPP/7zip/Archive/Common/CoderMixer2MT.cpp CPP/7zip/Archive/Common/CrossThreadProgress.cpp CPP/7zip/Archive/Common/DummyOutStream.cpp CPP/7zip/Archive/Common/FindSignature.cpp CPP/7zip/Archive/Common/HandlerOut.cpp CPP/7zip/Archive/Common/InStreamWithCRC.cpp CPP/7zip/Archive/Common/ItemNameUtils.cpp CPP/7zip/Archive/Common/MultiStream.cpp CPP/7zip/Archive/Common/OutStreamWithCRC.cpp CPP/7zip/Archive/Common/ParseProperties.cpp CPP/7zip/Archive/7z/7zCompressionMode.cpp CPP/7zip/Archive/7z/7zDecode.cpp CPP/7zip/Archive/7z/7zEncode.cpp CPP/7zip/Archive/7z/7zExtract.cpp CPP/7zip/Archive/7z/7zFolderInStream.cpp CPP/7zip/Archive/7z/7zFolderOutStream.cpp CPP/7zip/Archive/7z/7zHandler.cpp CPP/7zip/Archive/7z/7zHandlerOut.cpp CPP/7zip/Archive/7z/7zHeader.cpp CPP/7zip/Archive/7z/7zIn.cpp CPP/7zip/Archive/7z/7zOut.cpp CPP/7zip/Archive/7z/7zProperties.cpp CPP/7zip/Archive/7z/7zSpecStream.cpp CPP/7zip/Archive/7z/7zUpdate.cpp CPP/7zip/Archive/7z/7zRegister.cpp CPP/7zip/Archive/Cab/CabBlockInStream.cpp CPP/7zip/Archive/Cab/CabHandler.cpp CPP/7zip/Archive/Cab/CabHeader.cpp CPP/7zip/Archive/Cab/CabIn.cpp CPP/7zip/Archive/Cab/CabRegister.cpp CPP/7zip/Archive/Tar/TarHandler.cpp CPP/7zip/Archive/Tar/TarHandlerOut.cpp CPP/7zip/Archive/Tar/TarHeader.cpp CPP/7zip/Archive/Tar/TarIn.cpp CPP/7zip/Archive/Tar/TarOut.cpp CPP/7zip/Archive/Tar/TarUpdate.cpp CPP/7zip/Archive/Tar/TarRegister.cpp CPP/7zip/Archive/Zip/ZipAddCommon.cpp CPP/7zip/Archive/Zip/ZipHandler.cpp CPP/7zip/Archive/Zip/ZipHandlerOut.cpp CPP/7zip/Archive/Zip/ZipHeader.cpp CPP/7zip/Archive/Zip/ZipIn.cpp CPP/7zip/Archive/Zip/ZipItem.cpp CPP/7zip/Archive/Zip/ZipOut.cpp CPP/7zip/Archive/Zip/ZipUpdate.cpp CPP/7zip/Archive/Zip/ZipRegister.cpp CPP/7zip/Compress/Bcj2Coder.cpp CPP/7zip/Compress/Bcj2Register.cpp CPP/7zip/Compress/BcjCoder.cpp CPP/7zip/Compress/BcjRegister.cpp CPP/7zip/Compress/BitlDecoder.cpp CPP/7zip/Compress/BranchCoder.cpp CPP/7zip/Compress/BranchMisc.cpp CPP/7zip/Compress/BranchRegister.cpp CPP/7zip/Compress/ByteSwap.cpp CPP/7zip/Compress/BZip2Crc.cpp CPP/7zip/Compress/BZip2Decoder.cpp CPP/7zip/Compress/BZip2Encoder.cpp CPP/7zip/Compress/BZip2Register.cpp CPP/7zip/Compress/CopyCoder.cpp CPP/7zip/Compress/CopyRegister.cpp CPP/7zip/Compress/Deflate64Register.cpp CPP/7zip/Compress/DeflateDecoder.cpp CPP/7zip/Compress/DeflateEncoder.cpp CPP/7zip/Compress/DeflateRegister.cpp CPP/7zip/Compress/DeltaFilter.cpp CPP/7zip/Compress/ImplodeDecoder.cpp CPP/7zip/Compress/ImplodeHuffmanDecoder.cpp CPP/7zip/Compress/Lzma2Decoder.cpp CPP/7zip/Compress/Lzma2Encoder.cpp CPP/7zip/Compress/Lzma2Register.cpp CPP/7zip/Compress/LzmaDecoder.cpp CPP/7zip/Compress/LzmaEncoder.cpp CPP/7zip/Compress/LzmaRegister.cpp CPP/7zip/Compress/LzOutWindow.cpp CPP/7zip/Compress/Lzx86Converter.cpp CPP/7zip/Compress/LzxDecoder.cpp CPP/7zip/Compress/PpmdDecoder.cpp CPP/7zip/Compress/PpmdEncoder.cpp CPP/7zip/Compress/PpmdRegister.cpp CPP/7zip/Compress/PpmdZip.cpp CPP/7zip/Compress/QuantumDecoder.cpp CPP/7zip/Compress/ShrinkDecoder.cpp CPP/7zip/Compress/ZDecoder.cpp CPP/7zip/Crypto/7zAes.cpp CPP/7zip/Crypto/7zAesRegister.cpp CPP/7zip/Crypto/HmacSha1.cpp CPP/7zip/Crypto/MyAes.cpp CPP/7zip/Crypto/Pbkdf2HmacSha1.cpp CPP/7zip/Crypto/RandGen.cpp CPP/7zip/Crypto/Sha1.cpp CPP/7zip/Crypto/WzAes.cpp CPP/7zip/Crypto/ZipCrypto.cpp CPP/7zip/Crypto/ZipStrong.cpp C/7zStream.c C/Aes.c C/Alloc.c C/Bra.c C/Bra86.c C/BraIA64.c C/BwtSort.c C/Delta.c C/HuffEnc.c C/LzFind.c C/LzFindMt.c C/Lzma2Dec.c C/Lzma2Enc.c C/LzmaDec.c C/LzmaEnc.c C/MtCoder.c C/Ppmd7.c C/Ppmd7Dec.c C/Ppmd7Enc.c C/Ppmd8.c C/Ppmd8Dec.c C/Ppmd8Enc.c C/Sha256.c C/Sort.c C/Threads.c C/Xz.c C/XzCrc64.c C/XzDec.c C/XzEnc.c C/XzIn.c C/7zCrc.c C/7zCrcOpt.c) +set(SUBDIRS C CPP/7zip/Archive CPP/7zip/Archive/7z CPP/7zip/Archive/Cab CPP/7zip/Archive/Common CPP/7zip/Archive/Tar CPP/7zip/Archive/Zip CPP/7zip/Common CPP/7zip/Compress CPP/7zip/Crypto CPP/7zip/UI/Common CPP/7zip/UI/Console CPP/Common CPP/Windows CPP/myWindows) +set(SUBDIR_template Output/%.o: ${1}/%.c Output/.dir + -$(CC) $(CPPFLAGS) $(CFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) -c $< -o $@ +Output/%.o: ${1}/%.cpp Output/.dir + -$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) -c $< -o $@ +Output/%.llvm.o: ${1}/%.c Output/.dir + $(RUNSAFELYLOCAL) /dev/null $@.compile $(LCC) $(CPPFLAGS) $(CFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) -c $< -o $@ +Output/%.llvm.o: ${1}/%.cpp Output/.dir + $(RUNSAFELYLOCAL) /dev/null $@.compile $(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) -c $< -o $@ +Output/%.ll: ${1}/%.c Output/.dir + $(RUNSAFELYLOCAL) /dev/null $@.compile $(LCC) $(CPPFLAGS) $(CFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG) +Output/%.ll: ${1}/%.cpp Output/.dir + $(RUNSAFELYLOCAL) /dev/null $@.compile $(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(OPTFLAGS) $(TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)) +set(PROGRAM_IS_NONDETERMINISTIC 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/ASCI_Purple/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/ASCI_Purple/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/ASCI_Purple/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS SMG2000 ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/ASCI_Purple/SMG2000/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/ASCI_Purple/SMG2000/CMakeLists.txt @@ -0,0 +1,22 @@ +# Autogenerated from MultiSource/Benchmarks/ASCI_Purple/SMG2000/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG smg2000) +list(APPEND CPPFLAGS -D_POSIX_SOURCE -DHYPRE_TIMING -DHYPRE_SEQUENTIAL ) +list(APPEND CPPFLAGS -I. ) +list(APPEND LIBS -lm) +list(APPEND LDFLAGS -lm) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS "-n 30 15 30 -c 0.1 1.0 10.0") +else() + set(RUN_OPTIONS "-n 100 40 100 -c 0.1 1.0 10.0") + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 256) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/ASC_Sequoia/AMGmk/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/ASC_Sequoia/AMGmk/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/ASC_Sequoia/AMGmk/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG AMGmk) +list(APPEND LIBS -lm) +list(APPEND LDFLAGS -lm) +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(RUNTIMELIMIT 7200) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/ASC_Sequoia/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/ASC_Sequoia/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/ASC_Sequoia/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS IRSmk AMGmk CrystalMk ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/ASC_Sequoia/CrystalMk/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/ASC_Sequoia/CrystalMk/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/ASC_Sequoia/CrystalMk/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG CrystalMk) +list(APPEND LIBS -lm) +list(APPEND LDFLAGS -lm) +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(RUNTIMELIMIT 7200) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/ASC_Sequoia/IRSmk/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/ASC_Sequoia/IRSmk/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/ASC_Sequoia/IRSmk/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG IRSmk) +list(APPEND LIBS -lm) +list(APPEND LDFLAGS -lm) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/irsmk_input) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/ASC_Sequoia/sphot/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/ASC_Sequoia/sphot/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/ASC_Sequoia/sphot/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG sphot) +list(APPEND LIBS -lm) +list(APPEND LDFLAGS -lm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/BitBench/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/BitBench/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/BitBench/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS five11 drop3 uudecode uuencode) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/BitBench/drop3/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/BitBench/drop3/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/BitBench/drop3/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG drop3) +set(LDFLAGS ) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/input-file) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/BitBench/five11/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/BitBench/five11/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/BitBench/five11/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG five11) +set(LDFLAGS ) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/input-file) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/BitBench/uudecode/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/BitBench/uudecode/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/BitBench/uudecode/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG uudecode) +set(LDFLAGS ) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/input-file) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/BitBench/uuencode/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/BitBench/uuencode/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/BitBench/uuencode/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG uuencode) +set(LDFLAGS ) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/uuencode.c) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Bullet/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Bullet/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/Bullet/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../) +set(PROG bullet) +list(APPEND CPPFLAGS -I${CMAKE_CURRENT_SOURCE_DIR}/include -DNO_TIME) +set(LDFLAGS -lstdc++ -lm) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) +else() + set(RUNTIMELIMIT 1500) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/CMakeLists.txt @@ -0,0 +1,32 @@ +# Autogenerated from MultiSource/Benchmarks/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../..) +set(PARALLEL_DIRS Fhourstones Fhourstones-3.1 McCat Olden Ptrdist llubenchmark sim FreeBench MallocBench Prolangs-C SciMark2-C mediabench nbench ASCI_Purple MiBench Trimaran VersaBench NPB-serial BitBench ASC_Sequoia TSVC) +if("${TARGET_OS}" STREQUAL "Darwin") + if("${ARCH}" STREQUAL "ARM") + llvm_filter_out(TMP1 TSVC ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP1}) + endif() +endif() +if(NOT DEFINED DISABLE_CXX) + list(APPEND PARALLEL_DIRS Prolangs-C++ PAQ8p tramp3d-v4 Bullet 7zip) +endif() +if("${ARCH}" STREQUAL "PowerPC") + llvm_filter_out(TMP2 tramp3d-v4 ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP2}) +endif() +if(NOT DEFINED SMALL_PROBLEM_SIZE) + list(APPEND PARALLEL_DIRS mafft) +endif() +if("${ARCH}" STREQUAL "XCore") + llvm_filter_out(TMP3 7zip ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP3}) + llvm_filter_out(TMP4 PAQ8p ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP4}) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Fhourstones-3.1/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Fhourstones-3.1/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from MultiSource/Benchmarks/Fhourstones-3.1/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG fhourstones3.1) +if(DEFINED LARGE_PROBLEM_SIZE) + set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/inputs_large) +else() + set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/inputs) +endif() +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Fhourstones/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Fhourstones/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/Fhourstones/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG fhourstones) +set(CPPFLAGS -DUNIX -DTRANSIZE=1050011 -DPROBES=8 -DREPORTPLY=8) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/input) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/FreeBench/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/FreeBench/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/FreeBench/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS distray mason pcompress2 analyzer fourinarow neural pifft) +if("${ARCH}" STREQUAL "Sparc") + llvm_filter_out(TMP1 analyzer ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP1}) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/FreeBench/analyzer/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/FreeBench/analyzer/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/FreeBench/analyzer/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG analyzer) +set(CPPFLAGS -DVERSION='"1.00"' -DCOMPDATE="\\"today\\"" -DCFLAGS='""' -DHOSTNAME="\\"thishost\\"" ) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/ref.in) +else() + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/test.in) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/FreeBench/distray/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/FreeBench/distray/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from MultiSource/Benchmarks/FreeBench/distray/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG distray) +set(CPPFLAGS -DVERSION='"1.00"' -DCOMPDATE="\\"today\\"" -DCFLAGS='""' -DHOSTNAME="\\"thishost\\"" ) +set(LDFLAGS -lm) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/ref.in) +else() + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/test.in) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/FreeBench/fourinarow/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/FreeBench/fourinarow/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/FreeBench/fourinarow/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG fourinarow) +set(CPPFLAGS -DVERSION='"1.00"' -DCOMPDATE="\\"today\\"" -DCFLAGS='""' -DHOSTNAME="\\"thishost\\"" ) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/ref.in) +else() + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/test.in) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/FreeBench/mason/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/FreeBench/mason/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/FreeBench/mason/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG mason) +set(CPPFLAGS -DVERSION='"1.00"' -DCOMPDATE="\\"today\\"" -DCFLAGS='""' -DHOSTNAME="\\"thishost\\"" ) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/ref.in) +else() + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/test.in) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/FreeBench/neural/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/FreeBench/neural/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/FreeBench/neural/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG neural) +set(CPPFLAGS -DVERSION='"1.00"' -DCOMPDATE="\\"today\\"" -DCFLAGS='""' -DHOSTNAME="\\"thishost\\"" ) +set(LDFLAGS -lm) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/ref.in) +else() + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/test.in) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/FreeBench/pcompress2/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/FreeBench/pcompress2/CMakeLists.txt @@ -0,0 +1,24 @@ +# Autogenerated from MultiSource/Benchmarks/FreeBench/pcompress2/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG pcompress2) +set(CPPFLAGS -DVERSION='"1.00"' -DCOMPDATE="\\"today\\"" -DCFLAGS='""' -DHOSTNAME="\\"thishost\\"" ) +if(DEFINED LARGE_PROBLEM_SIZE) + set(INPUT_FILE ref.in) +else() + set(INPUT_FILE test.in) +endif() +set(RUN_OPTIONS ${CMAKE_CURRENT_BINARY_DIR}/${INPUT_FILE}) +set(GeneratedTestInputs copy-input-file) + +add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${INPUT_FILE} + COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/${INPUT_FILE} ${CMAKE_CURRENT_BINARY_DIR}/${INPUT_FILE} + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + COMMENT "Copying pcompress2 test input") +add_custom_target(pcompress2_input SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${INPUT_FILE}) + llvm_multisource() +add_dependencies(pcompress2 pcompress2_input) +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/FreeBench/pifft/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/FreeBench/pifft/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/FreeBench/pifft/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG pifft) +set(CPPFLAGS -DVERSION='"1.00"' -DCOMPDATE="\\"today\\"" -DCFLAGS='""' -DHOSTNAME="\\"thishost\\"" ) +set(LDFLAGS -lm) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/ref.in) +else() + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/test.in) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MallocBench/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MallocBench/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/MallocBench/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS cfrac espresso gs) +if("${ARCH}" STREQUAL "Alpha") + llvm_filter_out(TMP1 cfrac ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP1}) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MallocBench/cfrac/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MallocBench/cfrac/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from MultiSource/Benchmarks/MallocBench/cfrac/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG cfrac) +list(APPEND CPPFLAGS -DNOMEMOPT) +list(APPEND LIBS -lm) +list(APPEND LDFLAGS -lm) +set(Source cfrac.c pops.c pconst.c pio.c pabs.c pneg.c pcmp.c podd.c phalf.c padd.c psub.c pmul.c pdivmod.c psqrt.c ppowmod.c atop.c ptoa.c itop.c utop.c ptou.c errorp.c pfloat.c pidiv.c pimod.c picmp.c primes.c pcfrac.c pgcd.c) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 376529507064485971626234556089714053987) +else() + set(RUN_OPTIONS 41757646344123832613190542166099121) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MallocBench/espresso/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MallocBench/espresso/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/MallocBench/espresso/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG espresso) +list(APPEND CPPFLAGS -DNOMEMOPT) +list(APPEND CFLAGS -std=gnu89) +set(RUN_OPTIONS -t ${CMAKE_CURRENT_SOURCE_DIR}/INPUT/largest.espresso) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MallocBench/gawk/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MallocBench/gawk/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from MultiSource/Benchmarks/MallocBench/gawk/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(RUN_OPTIONS -f ${CMAKE_CURRENT_SOURCE_DIR}/INPUT/adj.awk type=l linelen=70 indent=5 ${CMAKE_CURRENT_SOURCE_DIR}/INPUT/words-large.awk) +set(PROG gawk) +list(APPEND LIBS -lm) +list(APPEND LDFLAGS -lm) +set(Source alloca.c ${CMAKE_CURRENT_BINARY_DIR}/awk.tab.c debug.c field.c main.c msg.c regex.c array.c builtin.c eval.c io.c node.c) +list(APPEND CPPFLAGS -DBCOPY_MISSING -DSPRINTF_INT -DDOPRNT_MISSING -DGCVT_MISSING -DSTRCASE_MISSING -DSTRTOD_MISSING -DTMPNAM_MISSING) + +include_directories(${CMAKE_CURRENT_BINARY_DIR}) +add_yacc_parser(gawk_parser awk.y ${CMAKE_CURRENT_BINARY_DIR}/awk.tab.c ${CMAKE_CURRENT_BINARY_DIR}/awk.tab.h) + llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MallocBench/gs/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MallocBench/gs/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from MultiSource/Benchmarks/MallocBench/gs/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG gs) +list(APPEND LIBS -lm) +list(APPEND LDFLAGS -lm) +list(APPEND CPPFLAGS -DNOMEMOPT -DGS_LIB_DEFAULT=\\"${CMAKE_CURRENT_SOURCE_DIR}:${CMAKE_CURRENT_SOURCE_DIR}/fonts\\") +list(APPEND CFLAGS -Wno-implicit-function-declaration) +list(APPEND CPPFLAGS -DNOPRIVATE) +set(Source gs.c gsmain.c gp_unix.c utrace.c) +list(APPEND Source ialloc.c idebug.c idict.c iinit.c iname.c interp.c iscan.c iutil.c stream.c zarith.c zarray.c zcontrol.c zdict.c zfile.c zgeneric.c zmath.c zmisc.c zpacked.c zrelbit.c zstack.c zstring.c ztype.c zvmem.c zchar.c zcolor.c zfont.c zdevice.c zgstate.c zht.c zmatrix.c zpaint.c zpath.c zpath2.c) +list(APPEND Source gschar.c gscolor.c gscoord.c gsdevice.c gsfile.c gsfont.c gsimage.c gsim2out.c gsline.c gsmatrix.c gsmisc.c gspaint.c gspath.c gspath2.c gsstate.c gstype1.c gxcache.c gxcolor.c gxdither.c gxdraw.c gxfill.c gxht.c gxpath.c gxpath2.c gxstroke.c gdevmem.c gdevs.c) +set(RUN_OPTIONS -DNODISPLAY ${CMAKE_CURRENT_SOURCE_DIR}/INPUT/large.ps) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MallocBench/make/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MallocBench/make/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/MallocBench/make/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG make) +list(APPEND CPPFLAGS -DHAVE_SIGLIST -DNO_LDAV -DNOMEMOPT -DPOSIX) +set(Source commands.c job.c dir.c file.c load.c misc.c main.c read.c remake.c remote.c rule.c implicit.c default.c variable.c expand.c function.c vpath.c version.c arscan.c ar.c) +set(RUN_OPTIONS -n -f ${CMAKE_CURRENT_SOURCE_DIR}/INPUT/GNUmakefile.make USEROPT=BWGC VPATH=${CMAKE_CURRENT_SOURCE_DIR}) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MallocBench/p2c/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MallocBench/p2c/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/MallocBench/p2c/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG p2c) +list(APPEND CPPFLAGS -DNOMEMOPT) +set(RUN_OPTIONS -v) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/INPUT/mf.p) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MallocBench/perl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MallocBench/perl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/MallocBench/perl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG perl) +set(REQUIRES_EH_SUPPORT 1) +list(APPEND CPPFLAGS -DHAS_STRERROR -DHAS_MKDIR -DHAS_RMDIR -U_POSIX_SOURCE -D__USE_MISC) +list(APPEND LIBS -lm -lcrypt) +list(APPEND LDFLAGS -lm -lcrypt) +set(Source array.c doarg.c eval.c regexec.c cmd.c doio.c form.c perl.c stab.c usersub.c cons.c dolist.c hash.c perly.c str.c util.c consarg.c dump.c malloc.c regcomp.c toke.c) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/INPUT/endsort.perl ${CMAKE_CURRENT_SOURCE_DIR}/INPUT/endsort.perl) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/01-qbsort/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/01-qbsort/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/01-qbsort/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG qbsort) +set(RUN_OPTIONS 1000) +set(LDFLAGS -lm) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/benchmark.in3) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/03-testtrie/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/03-testtrie/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/03-testtrie/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG testtrie) +set(LDFLAGS -lm) +list(APPEND RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/testtrie.in2) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/04-bisect/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/04-bisect/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/04-bisect/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG bisect) +set(LDFLAGS -lm) +set(FP_TOLERANCE 0.001) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/bisect_test.in) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/05-eks/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/05-eks/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/05-eks/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG eks) +set(LDFLAGS -lm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/08-main/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/08-main/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/08-main/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG main) +set(LDFLAGS -lm) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/09-vor/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/09-vor/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/09-vor/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG vor) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/vor.in3) +set(LDFLAGS -lm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/12-IOtest/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/12-IOtest/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/12-IOtest/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG iotest) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/15-trie/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/15-trie/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/15-trie/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG trie) +set(LDFLAGS -lm) +list(APPEND RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/trie.in1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/17-bintr/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/17-bintr/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/17-bintr/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG bintr) +set(LDFLAGS -lm) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/bnchmrk.in1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/18-imp/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/18-imp/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/18-imp/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG imp) +list(APPEND RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/sg01.imp) +set(LDFLAGS -lm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/McCat/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/McCat/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/McCat/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS 01-qbsort 04-bisect 08-main 12-IOtest 17-bintr 03-testtrie 05-eks 09-vor 15-trie 18-imp) +if(DEFINED BENCHMARKING_ONLY) + llvm_filter_out(TMP1 15-trie ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP1}) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/CMakeLists.txt @@ -0,0 +1,30 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS automotive-basicmath automotive-bitcount automotive-susan consumer-jpeg consumer-lame consumer-typeset network-dijkstra network-patricia office-ispell office-stringsearch security-blowfish security-rijndael security-sha telecomm-CRC32 telecomm-FFT telecomm-adpcm telecomm-gsm) +if("${ARCH}" STREQUAL "ARM") + llvm_filter_out(TMP1 office-ispell ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP1}) +endif() +if("${ARCH}" STREQUAL "XCore") + llvm_filter_out(TMP2 consumer-lame ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP2}) + llvm_filter_out(TMP3 office-ispell ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP3}) +endif() +if(DEFINED BENCHMARKING_ONLY) + llvm_filter_out(TMP4 office-stringsearch ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP4}) + llvm_filter_out(TMP5 office-ispell ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP5}) + llvm_filter_out(TMP6 security-blowfish ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP6}) + llvm_filter_out(TMP7 telecom-adpcm ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP7}) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/automotive-basicmath/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/automotive-basicmath/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/automotive-basicmath/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG automotive-basicmath) +set(LDFLAGS -lm) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/automotive-bitcount/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/automotive-bitcount/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/automotive-bitcount/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG automotive-bitcount) +set(LDFLAGS -lm) +set(RUN_OPTIONS 1125000) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/automotive-susan/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/automotive-susan/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/automotive-susan/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG automotive-susan) +set(LDFLAGS -lm) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/input_large.pgm Output/output_large.smoothing.pgm -s) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/consumer-jpeg/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/consumer-jpeg/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/consumer-jpeg/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG consumer-jpeg) +set(LDFLAGS -lm) +set(RUN_OPTIONS -dct int -ppm -outfile Output/output_large_decode.ppm ${CMAKE_CURRENT_SOURCE_DIR}/input_large.jpg) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/consumer-lame/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/consumer-lame/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/consumer-lame/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG consumer-lame) +set(CPPFLAGS -DHAVEMPGLIB -DLAMEPARSE -DNDEBUG -D__NO_MATH_INLINES -O -DLAMESNDFILE) +set(LDFLAGS -lm) +set(RUN_OPTIONS -S ${CMAKE_CURRENT_SOURCE_DIR}/large.wav Output/output_large.mp3) +set(USE_REFERENCE_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/consumer-typeset/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/consumer-typeset/CMakeLists.txt @@ -0,0 +1,21 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/consumer-typeset/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG consumer-typeset) +set(CPPFLAGS -DOS_UNIX=1 -DOS_DOS=0 -DOS_MAC=0 -DDB_FIX=0 -DUSE_STAT=1 -DSAFE_DFT=0 -DCOLLATE=1 -DLIB_DIR=\\"lout.lib\\" -DFONT_DIR=\\"font\\" -DMAPS_DIR=\\"maps\\" -DINCL_DIR=\\"include\\" -DDATA_DIR=\\"data\\" -DHYPH_DIR=\\"hyph\\" -DLOCALE_DIR=\\"locale\\" -DCHAR_IN=1 -DCHAR_OUT=0 -DLOCALE_ON=1 -DASSERT_ON=1 -DDEBUG_ON=0 -DPDF_COMPRESSION=0 -D_FORTIFY_SOURCE=0) +set(LDFLAGS -lm) +set(RUN_OPTIONS -x -I ${CMAKE_CURRENT_SOURCE_DIR}/data/include -D ${CMAKE_CURRENT_SOURCE_DIR}/data/data -F ${CMAKE_CURRENT_SOURCE_DIR}/data/font -C ${CMAKE_CURRENT_SOURCE_DIR}/data/maps -H ${CMAKE_CURRENT_BINARY_DIR}/data/hyph ${CMAKE_CURRENT_SOURCE_DIR}/large.lout) +set(GeneratedTestInputs copy-hyph-files) + +add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/data/hyph + COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/data/hyph + COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/data/hyph/* ${CMAKE_CURRENT_BINARY_DIR}/data/hyph + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + COMMENT "Copying consumer-typeset test inputs") +add_custom_target(consumer-typeset_input SOURCES ${CMAKE_CURRENT_BINARY_DIR}/data/hyph) + llvm_multisource() +add_dependencies(consumer-typeset consumer-typeset_input) +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/network-dijkstra/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/network-dijkstra/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/network-dijkstra/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG network-dijkstra) +set(LDFLAGS -lm) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/input.dat) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/network-patricia/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/network-patricia/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/network-patricia/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG network-patricia) +set(LDFLAGS -lm) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/large.udp) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/office-ispell/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/office-ispell/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/office-ispell/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG office-ispell) +set(CPPFLAGS -Dconst=) +set(LDFLAGS -lm) +set(RUN_OPTIONS -a -d ${CMAKE_CURRENT_SOURCE_DIR}/americanmed+ < ${CMAKE_CURRENT_SOURCE_DIR}/large.txt) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/office-stringsearch/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/office-stringsearch/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/office-stringsearch/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG office-stringsearch) +set(LDFLAGS -lm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/security-blowfish/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/security-blowfish/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/security-blowfish/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG security-blowfish) +set(LDFLAGS -lm) +set(RUN_OPTIONS print_test_data) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/security-rijndael/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/security-rijndael/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/security-rijndael/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG security-rijndael) +set(LDFLAGS -lm) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/output_large.enc Output/output_large.dec d 1234567890abcdeffedcba09876543211234567890abcdeffedcba0987654321) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/security-sha/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/security-sha/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/security-sha/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG security-sha) +set(LDFLAGS -lm) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/input_large.asc ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/telecomm-CRC32/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/telecomm-CRC32/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/telecomm-CRC32/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG telecomm-CRC32) +set(LDFLAGS -lm) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/large.pcm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/telecomm-FFT/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/telecomm-FFT/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/telecomm-FFT/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG telecomm-fft) +set(LDFLAGS -lm) +set(RUN_OPTIONS 8 32768 -i) +set(FP_ABSTOLERANCE 0.00001) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/telecomm-adpcm/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/telecomm-adpcm/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/telecomm-adpcm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG telecomm-adpcm) +set(LDFLAGS -lm) +set(RUN_OPTIONS < ${CMAKE_CURRENT_SOURCE_DIR}/large.adpcm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/MiBench/telecomm-gsm/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/MiBench/telecomm-gsm/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/MiBench/telecomm-gsm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG telecomm-gsm) +set(CPPFLAGS -DSTUPID_COMPILER -DNeedFunctionPrototypes=1 -DSASR) +set(LDFLAGS -lm) +set(RUN_OPTIONS -fps -c ${CMAKE_CURRENT_SOURCE_DIR}/large.au) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/NPB-serial/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/NPB-serial/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/NPB-serial/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS is ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/NPB-serial/dc/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/NPB-serial/dc/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/NPB-serial/dc/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG dc) +set(LDFLAGS ) +set(Source adc.c dc.c jobcntl.c c_print_results.c extbuild.c rbt.c) +set(RUN_OPTIONS 10000000 ADC.par) +if(DEFINED SMALL_PROBLEM_SIZE) + set(CPPFLAGS -DSMALL_PROBLEM_SIZE) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/NPB-serial/is/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/NPB-serial/is/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from MultiSource/Benchmarks/NPB-serial/is/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG is) +set(LDFLAGS ) +if(DEFINED SMALL_PROBLEM_SIZE) + set(CPPFLAGS -DSMALL_PROBLEM_SIZE) +else() + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 512) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS bh em3d mst power tsp bisort health perimeter treeadd voronoi) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/bh/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/bh/CMakeLists.txt @@ -0,0 +1,21 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/bh/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG bh) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS -lm) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 40000 30) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 2000 5) + else() + set(RUN_OPTIONS 20000 20) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/bisort/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/bisort/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/bisort/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG bisort) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS -lm) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 3000000) +else() + set(RUN_OPTIONS 700000) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/em3d/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/em3d/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/em3d/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG em3d) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS ) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 256 250 35) +else() + set(RUN_OPTIONS 1024 1000 125) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/health/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/health/CMakeLists.txt @@ -0,0 +1,25 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/health/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG health) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS -lm) +set(FP_TOLERANCE 0.001) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 10 40 1) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 8 15 1) + else() + set(RUN_OPTIONS 9 20 1) + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) + endif() + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/mst/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/mst/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/mst/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG mst) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS ) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 4000) +else() + set(RUN_OPTIONS 1000) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/perimeter/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/perimeter/CMakeLists.txt @@ -0,0 +1,24 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/perimeter/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG perimeter) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS ) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 11) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 9) + else() + set(RUN_OPTIONS 10) + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) + endif() + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/power/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/power/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/power/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG power) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS -lm) +set(FP_TOLERANCE 0.00001) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/treeadd/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/treeadd/CMakeLists.txt @@ -0,0 +1,20 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/treeadd/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG treeadd) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS ) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 20) +else() + set(RUN_OPTIONS 22) + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 128) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/tsp/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/tsp/CMakeLists.txt @@ -0,0 +1,24 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/tsp/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG tsp) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS -lm) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 2048000) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 102400) + else() + set(RUN_OPTIONS 1024000) + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) + endif() + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Olden/voronoi/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Olden/voronoi/CMakeLists.txt @@ -0,0 +1,26 @@ +# Autogenerated from MultiSource/Benchmarks/Olden/voronoi/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG voronoi) +set(INCLUDES defines.h) +set(CPPFLAGS -DTORONTO) +set(LDFLAGS -lm) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 1000000 20 32 7) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 10000 20 32 7) + else() + set(RUN_OPTIONS 100000 20 32 7) + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) + endif() + endif() +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/OptimizerEval/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/OptimizerEval/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/OptimizerEval/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG optimizer-eval) +set(CPPFLAGS ) +set(LDFLAGS -lm) +set(PROGRAM_IS_NONDETERMINISTIC 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/PAQ8p/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/PAQ8p/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/PAQ8p/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../) +set(PROG paq8p) +list(APPEND CPPFLAGS -DNOASM -DLLVM) +set(LDFLAGS -lstdc++ -lm) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS -1 ${CMAKE_CURRENT_SOURCE_DIR}/small.in) +else() + set(RUN_OPTIONS -4 ${CMAKE_CURRENT_SOURCE_DIR}/file1.in) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/CMakeLists.txt @@ -0,0 +1,34 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS NP city deriv1 deriv2 employ family fsm garage life objects ocean office primes shapes simul trees vcirc) +if(DEFINED BENCHMARKING_ONLY) + llvm_filter_out(TMP1 deriv1 ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP1}) + llvm_filter_out(TMP2 deriv2 ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP2}) + llvm_filter_out(TMP3 family ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP3}) + llvm_filter_out(TMP4 fsm ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP4}) + llvm_filter_out(TMP5 garage ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP5}) + llvm_filter_out(TMP6 NP ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP6}) + llvm_filter_out(TMP7 objects ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP7}) + llvm_filter_out(TMP8 office ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP8}) + llvm_filter_out(TMP9 shapes ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP9}) + llvm_filter_out(TMP10 trees ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP10}) + llvm_filter_out(TMP11 vcirc ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP11}) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/NP/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/NP/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/NP/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG np) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/city/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/city/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/city/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG city) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/deriv1/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/deriv1/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/deriv1/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG deriv1) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/deriv2/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/deriv2/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/deriv2/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG deriv2) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/employ/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/employ/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/employ/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG employ) +set(LDFLAGS -lstdc++) +set(RUN_OPTIONS 400) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/input.txt) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/family/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/family/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/family/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG family) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/fsm/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/fsm/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/fsm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG fsm) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/garage/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/garage/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/garage/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG garage) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/life/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/life/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/life/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG life) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/objects/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/objects/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/objects/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG objects) +set(LIBS -lstdc++) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/ocean/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/ocean/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/ocean/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG ocean) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/office/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/office/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/office/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG office) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/primes/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/primes/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/primes/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG primes) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/shapes/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/shapes/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/shapes/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG shapes) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/simul/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/simul/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/simul/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG simul) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/trees/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/trees/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/trees/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG trees) +set(LIBS -lstdc++) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C++/vcirc/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C++/vcirc/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C++/vcirc/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG vcirc) +set(LDFLAGS -lstdc++) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/CMakeLists.txt @@ -0,0 +1,52 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS TimberWolfMC agrep allroots archie-client assembler bison cdecl compiler fixoutput football gnugo loader plot2fig simulator unix-smail unix-tbl) +if("${ARCH}" STREQUAL "Sparc") + llvm_filter_out(TMP1 bison ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP1}) +endif() +if("${ARCH}" STREQUAL "Alpha") + llvm_filter_out(TMP2 bison ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP2}) +endif() +if("${ARCH}" STREQUAL "XCore") + llvm_filter_out(TMP3 archie-client ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP3}) + llvm_filter_out(TMP4 unix-smail ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP4}) +endif() +if(DEFINED BENCHMARKING_ONLY) + llvm_filter_out(TMP5 allroots ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP5}) + llvm_filter_out(TMP6 archie-client ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP6}) + llvm_filter_out(TMP7 assembler ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP7}) + llvm_filter_out(TMP8 cdecl ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP8}) + llvm_filter_out(TMP9 compiler ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP9}) + llvm_filter_out(TMP10 loader ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP10}) + llvm_filter_out(TMP11 fixoutput ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP11}) + llvm_filter_out(TMP12 football ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP12}) + llvm_filter_out(TMP13 plot2fig ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP13}) + llvm_filter_out(TMP14 simulator ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP14}) + llvm_filter_out(TMP15 TimberWolfMC ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP15}) + llvm_filter_out(TMP16 unix-smail ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP16}) + llvm_filter_out(TMP17 unix-tbl ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP17}) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/TimberWolfMC/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/TimberWolfMC/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/TimberWolfMC/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG timberwolfmc) +set(LDFLAGS -lm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/agrep/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/agrep/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/agrep/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG agrep) +set(RUN_OPTIONS -2 int ${CMAKE_CURRENT_SOURCE_DIR}/InstructionCombining.cpp.txt) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/allroots/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/allroots/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/allroots/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG allroots) +set(LDFLAGS -lm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/archie-client/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/archie-client/CMakeLists.txt @@ -0,0 +1,15 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +if(DEFINED HAVE_RE_COMP) + set(PROG archie) +endif() +if("${TARGET_OS}" STREQUAL "SunOS") + list(APPEND LDFLAGS -lsocket -lnsl) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/assembler/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/assembler/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/assembler/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG assembler) +set(LDFLAGS -lm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/bison/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/bison/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/bison/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG mybison) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/parse.y.in -v) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/cdecl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/cdecl/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/cdecl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +list(APPEND CFLAGS -std=gnu89) +set(PROG cdecl) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/testset) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/compiler/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/compiler/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/compiler/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG compiler) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/fixoutput/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/fixoutput/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/fixoutput/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG fixoutput) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/football/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/football/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/football/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG football) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/gnugo/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/gnugo/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/gnugo/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG gnugo) +set(HASH_PROGRAM_OUTPUT 1) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/stdin) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/loader/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/loader/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/loader/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(LDFLAGS -lm) +set(PROG loader) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/plot2fig/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/plot2fig/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/plot2fig/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +if(DEFINED HAVE_RE_COMP) + set(PROG plot2fig) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/simulator/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/simulator/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/simulator/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG simulator) +set(LDFLAGS -lm) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/unix-smail/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/unix-smail/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/unix-smail/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG unix-smail) +set(RUN_OPTIONS -v ALL) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/main.c) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Prolangs-C/unix-tbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Prolangs-C/unix-tbl/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/Prolangs-C/unix-tbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG unix-tbl) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Ptrdist/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Ptrdist/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/Ptrdist/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS anagram bc ft ks yacr2) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Ptrdist/anagram/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Ptrdist/anagram/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/Ptrdist/anagram/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG anagram) +set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/words 2) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/input.OUT) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Ptrdist/bc/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Ptrdist/bc/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/Ptrdist/bc/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG bc) +set(OBJS scan.o util.o main.o number.o storage.o load.o execute.o bc.o global.o) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/primes.b) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Ptrdist/ft/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Ptrdist/ft/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/Ptrdist/ft/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG ft) +if(DEFINED LARGE_PROBLEM_SIZE) + list(APPEND RUN_OPTIONS 6000 100000) +else() + list(APPEND RUN_OPTIONS 1500 100000) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Ptrdist/ks/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Ptrdist/ks/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from MultiSource/Benchmarks/Ptrdist/ks/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG ks) +list(APPEND RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/KL-4.in) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Ptrdist/yacr2/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Ptrdist/yacr2/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/Ptrdist/yacr2/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG yacr2) +set(CPPFLAGS -DTODD) +list(APPEND RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/input2.in) +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/SciMark2-C/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/SciMark2-C/CMakeLists.txt @@ -0,0 +1,24 @@ +# Autogenerated from MultiSource/Benchmarks/SciMark2-C/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG scimark2) +set(CPPFLAGS ) +set(LDFLAGS -lm) +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(RUNTIMELIMIT 50000) + endif() +else() + if("${ARCH}" STREQUAL "Mips") + set(RUNTIMELIMIT 3000) + endif() + if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS -large) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS LinearDependence-flt InductionVariable-flt GlobalDataFlow-flt ControlFlow-flt Symbolics-flt StatementReordering-flt LoopRestructuring-flt NodeSplitting-flt Expansion-flt CrossingThresholds-flt Reductions-flt Recurrences-flt Searching-flt Packing-flt LoopRerolling-flt Equivalencing-flt IndirectAddressing-flt ControlLoops-flt LinearDependence-dbl InductionVariable-dbl GlobalDataFlow-dbl ControlFlow-dbl Symbolics-dbl StatementReordering-dbl LoopRestructuring-dbl NodeSplitting-dbl Expansion-dbl CrossingThresholds-dbl Reductions-dbl Recurrences-dbl Searching-dbl Packing-dbl LoopRerolling-dbl Equivalencing-dbl IndirectAddressing-dbl ControlLoops-dbl) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/ControlFlow-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/ControlFlow-dbl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/ControlFlow-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG ControlFlow-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 2325 14) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/ControlFlow-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/ControlFlow-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/ControlFlow-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG ControlFlow-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 2325 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/ControlLoops-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/ControlLoops-dbl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/ControlLoops-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG ControlLoops-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 1640 14) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/ControlLoops-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/ControlLoops-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/ControlLoops-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG ControlLoops-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 1640 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/CrossingThresholds-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/CrossingThresholds-dbl/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/CrossingThresholds-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG CrossingThresholds-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 5880 14) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/CrossingThresholds-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/CrossingThresholds-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/CrossingThresholds-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG CrossingThresholds-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 5880 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Equivalencing-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Equivalencing-dbl/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Equivalencing-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Equivalencing-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 3125 14) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Equivalencing-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Equivalencing-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Equivalencing-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Equivalencing-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 3125 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Expansion-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Expansion-dbl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Expansion-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Expansion-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 4160 14) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Expansion-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Expansion-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Expansion-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Expansion-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 4160 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/GlobalDataFlow-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/GlobalDataFlow-dbl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/GlobalDataFlow-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG GlobalDataFlow-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 3450 14) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/GlobalDataFlow-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/GlobalDataFlow-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/GlobalDataFlow-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG GlobalDataFlow-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 3450 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/IndirectAddressing-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/IndirectAddressing-dbl/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/IndirectAddressing-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG IndirectAddressing-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 12500 14) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/IndirectAddressing-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/IndirectAddressing-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/IndirectAddressing-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG IndirectAddressing-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 12500 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/InductionVariable-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/InductionVariable-dbl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/InductionVariable-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG InductionVariable-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 9100 14) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/InductionVariable-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/InductionVariable-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/InductionVariable-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG InductionVariable-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 9100 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/LinearDependence-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/LinearDependence-dbl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/LinearDependence-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG LinearDependence-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 3570 14) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/LinearDependence-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/LinearDependence-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/LinearDependence-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG LinearDependence-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 3570 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/LoopRerolling-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/LoopRerolling-dbl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/LoopRerolling-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG LoopRerolling-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 5260 14) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/LoopRerolling-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/LoopRerolling-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/LoopRerolling-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG LoopRerolling-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 5260 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/LoopRestructuring-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/LoopRestructuring-dbl/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/LoopRestructuring-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG LoopRestructuring-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 4350 14) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/LoopRestructuring-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/LoopRestructuring-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/LoopRestructuring-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG LoopRestructuring-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 4350 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/NodeSplitting-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/NodeSplitting-dbl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/NodeSplitting-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG NodeSplitting-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 10000 14) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/NodeSplitting-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/NodeSplitting-flt/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/NodeSplitting-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG NodeSplitting-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 10000 5) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Packing-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Packing-dbl/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Packing-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Packing-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 50000 14) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Packing-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Packing-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Packing-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Packing-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 50000 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Recurrences-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Recurrences-dbl/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Recurrences-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Recurrences-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 20000 14) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Recurrences-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Recurrences-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Recurrences-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Recurrences-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 20000 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Reductions-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Reductions-dbl/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Reductions-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Reductions-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 1670 14) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Reductions-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Reductions-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Reductions-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Reductions-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 1670 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Searching-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Searching-dbl/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Searching-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Searching-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 80000 14) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Searching-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Searching-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Searching-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Searching-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 80000 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/StatementReordering-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/StatementReordering-dbl/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/StatementReordering-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG StatementReordering-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 20000 14) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/StatementReordering-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/StatementReordering-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/StatementReordering-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG StatementReordering-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 20000 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Symbolics-dbl/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Symbolics-dbl/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Symbolics-dbl/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Symbolics-dbl) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 9090 14) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/TSVC/Symbolics-flt/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/TSVC/Symbolics-flt/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/TSVC/Symbolics-flt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG Symbolics-flt) +set(LDFLAGS -lm) +list(APPEND CFLAGS -std=gnu99) +set(RUN_OPTIONS 9090 5) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Trimaran/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Trimaran/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/Trimaran/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS enc-3des enc-md5 enc-pc1 enc-rc4 netbench-crc netbench-url) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Trimaran/enc-3des/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Trimaran/enc-3des/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from MultiSource/Benchmarks/Trimaran/enc-3des/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG enc-3des) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 200) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 10) + else() + set(RUN_OPTIONS 100) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Trimaran/enc-md5/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Trimaran/enc-md5/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from MultiSource/Benchmarks/Trimaran/enc-md5/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG enc-md5) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 50) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 1) + else() + set(RUN_OPTIONS 10) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Trimaran/enc-pc1/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Trimaran/enc-pc1/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from MultiSource/Benchmarks/Trimaran/enc-pc1/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG enc-pc1) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 20000000) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 1000000) + else() + set(RUN_OPTIONS 5000000) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Trimaran/enc-rc4/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Trimaran/enc-rc4/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from MultiSource/Benchmarks/Trimaran/enc-rc4/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG enc-rc4) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 1000000) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 2000) + else() + set(RUN_OPTIONS 200000) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Trimaran/netbench-crc/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Trimaran/netbench-crc/CMakeLists.txt @@ -0,0 +1,22 @@ +# Autogenerated from MultiSource/Benchmarks/Trimaran/netbench-crc/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG netbench-crc) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 40000) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 1000) + else() + set(RUN_OPTIONS 12000) + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 256) + endif() + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/Trimaran/netbench-url/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/Trimaran/netbench-url/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from MultiSource/Benchmarks/Trimaran/netbench-url/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG netbench-url) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/medium_inputs 1400) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/medium_inputs 100) + else() + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/medium_inputs 900) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/VersaBench/8b10b/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/VersaBench/8b10b/CMakeLists.txt @@ -0,0 +1,15 @@ +# Autogenerated from MultiSource/Benchmarks/VersaBench/8b10b/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG 8b10b) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/input.txt 2000) +else() + set(RUN_OPTIONS ${CMAKE_CURRENT_SOURCE_DIR}/input.txt 20000) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/VersaBench/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/VersaBench/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/VersaBench/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +if("${ENDIAN}" STREQUAL "big") + set(PARALLEL_DIRS beamformer bmm dbms ecbdes) +else() + set(PARALLEL_DIRS 8b10b beamformer bmm dbms ecbdes) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/VersaBench/beamformer/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/VersaBench/beamformer/CMakeLists.txt @@ -0,0 +1,21 @@ +# Autogenerated from MultiSource/Benchmarks/VersaBench/beamformer/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +list(APPEND LDFLAGS -lm) +set(PROG beamformer) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS -i 400) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS -i 25) + else() + set(RUN_OPTIONS -i 140) + endif() +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/VersaBench/bmm/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/VersaBench/bmm/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from MultiSource/Benchmarks/VersaBench/bmm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG bmm) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 1024 1024) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 128 32) + else() + set(RUN_OPTIONS 1024 64) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/VersaBench/dbms/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/VersaBench/dbms/CMakeLists.txt @@ -0,0 +1,15 @@ +# Autogenerated from MultiSource/Benchmarks/VersaBench/dbms/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG dbms) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS -i ${CMAKE_CURRENT_SOURCE_DIR}/dbms.train.in) +else() + set(RUN_OPTIONS -i ${CMAKE_CURRENT_SOURCE_DIR}/dbms.ref.in) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/VersaBench/ecbdes/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/VersaBench/ecbdes/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from MultiSource/Benchmarks/VersaBench/ecbdes/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG ecbdes) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS 34) +else() + if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS 4) + else() + set(RUN_OPTIONS 16) + endif() +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/llubenchmark/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/llubenchmark/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from MultiSource/Benchmarks/llubenchmark/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG llu) +set(CPPFLAGS ) +set(LDFLAGS ) +if(DEFINED LARGE_PROBLEM_SIZE) + set(RUN_OPTIONS -i 6000) +else() + set(RUN_OPTIONS -i 3000) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mafft/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mafft/CMakeLists.txt @@ -0,0 +1,23 @@ +# Autogenerated from MultiSource/Benchmarks/mafft/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../) +set(Source Calignm1.c constants.c defs.c Falign.c fft.c fftFunctions.c Galign11.c genalign11.c genGalign11.c Halignmm.c io.c Lalign11.c Lalignmm.c mltaln9.c MSalign11.c MSalignmm.c mtxutl.c pairlocalalign.c partQalignmm.c partSalignmm.c Qalignmm.c Ralignmm.c rna.c SAalignmm.c Salignmm.c suboptalign11.c tddis.c) +set(PROG pairlocalalign) +set(CPPFLAGS -DLLVM) +set(RUN_OPTIONS -b 62 -g 0.100 -f 2.00 -h 0.100 -L) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/pyruvate_decarboxylase.fasta) +set(LDFLAGS -lm) +set(HASH_PROGRAM_OUTPUT 1) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 256) + set(RUNTIMELIMIT 10800) +endif() +if("${ARCH}" STREQUAL "Mips") + set(RUNTIMELIMIT 1500) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS adpcm g721 gsm jpeg mpeg2) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/adpcm/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/adpcm/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/adpcm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PARALLEL_DIRS rawcaudio rawdaudio) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/adpcm/rawcaudio/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/adpcm/rawcaudio/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/adpcm/rawcaudio/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/../data/clinton.pcm ) +set(PROG rawcaudio) +set(Source rawcaudio.c adpcm.c) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/adpcm/rawdaudio/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/adpcm/rawdaudio/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/adpcm/rawdaudio/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/../data/clinton.adpcm ) +set(PROG rawdaudio) +set(HASH_PROGRAM_OUTPUT 1) +set(Source rawdaudio.c adpcm.c) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/g721/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/g721/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/g721/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PARALLEL_DIRS g721encode ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/g721/g721encode/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/g721/g721encode/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/g721/g721encode/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(RUN_OPTIONS -4 -l) +set(STDIN_FILENAME ${CMAKE_CURRENT_SOURCE_DIR}/../data/clinton.pcm) +set(PROG encode) +set(Source encode.c g711.c g721.c g723_24.c g723_40.c g72x.c) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/gsm/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/gsm/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/gsm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PARALLEL_DIRS toast ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/gsm/toast/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/gsm/toast/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/gsm/toast/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(RUN_OPTIONS -cpl ${CMAKE_CURRENT_SOURCE_DIR}/../data/clinton.pcm) +set(PROG toast) +list(APPEND CPPFLAGS -DNeedFunctionPrototypes=1 -DSASR) +set(Source add.c gsm_decode.c gsm_option.c rpe.c toast.c code.c gsm_destroy.c gsm_print.c short_term.c toast_lin.c debug.c gsm_encode.c long_term.c table.c toast_ulaw.c decode.c gsm_explode.c lpc.c toast_alaw.c gsm_create.c gsm_implode.c preprocess.c toast_audio.c) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/jpeg/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/jpeg/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/jpeg/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PARALLEL_DIRS jpeg-6a ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/jpeg/jpeg-6a/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/jpeg/jpeg-6a/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/jpeg/jpeg-6a/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(RUN_OPTIONS -dct int -progressive -opt ${CMAKE_CURRENT_SOURCE_DIR}/../data/testimg.ppm) +set(PROG cjpeg) +set(Source jcapimin.c jcapistd.c jctrans.c jcparam.c jdatadst.c jcinit.c jcmaster.c jcmarker.c jcmainct.c jcprepct.c jccoefct.c jccolor.c jcsample.c jchuff.c jcphuff.c jcdctmgr.c jfdctfst.c jfdctflt.c jfdctint.c jdapimin.c jdapistd.c jdtrans.c jdatasrc.c jdmaster.c jdinput.c jdmarker.c jdhuff.c jdphuff.c jdmainct.c jdcoefct.c jdpostct.c jddctmgr.c jidctfst.c jidctflt.c jidctint.c jidctred.c jdsample.c jdcolor.c jquant1.c jquant2.c jdmerge.c jcomapi.c jutils.c jerror.c jmemmgr.c jmemnobs.c) +list(APPEND Source cjpeg.c rdppm.c rdgif.c rdtarga.c rdrle.c rdbmp.c rdswitch.c cdjpeg.c) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/mpeg2/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/mpeg2/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/mpeg2/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PARALLEL_DIRS mpeg2dec) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/mediabench/mpeg2/mpeg2dec/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/mediabench/mpeg2/mpeg2dec/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/Benchmarks/mediabench/mpeg2/mpeg2dec/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(RUN_OPTIONS -b ${CMAKE_CURRENT_SOURCE_DIR}/../data/mei16v2.m2v -r -f -o0 ${CMAKE_CURRENT_BINARY_DIR}/tmp%d) +set(PROG mpeg2decode) +list(APPEND LIBS -lm) +list(APPEND LDFLAGS -lm) +set(Source display.c gethdr.c idct.c mpeg2dec.c store.c verify.c getbits.c getpic.c idctref.c recon.c subspic.c getblk.c getvlc.c motion.c spatscal.c systems.c) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/nbench/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/nbench/CMakeLists.txt @@ -0,0 +1,23 @@ +# Autogenerated from MultiSource/Benchmarks/nbench/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG nbench) +set(CPPFLAGS -DBASE_ITERATIONS=25) +set(LDFLAGS ) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 7200) +else() + set(RUNTIMELIMIT 750) +endif() + +add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/NNET.DAT + COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/NNET.DAT ${CMAKE_CURRENT_BINARY_DIR}/NNET.DAT + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + COMMENT "Copying nbench test input") +add_custom_target(nbench_input SOURCES ${CMAKE_CURRENT_BINARY_DIR}/NNET.DAT) + llvm_multisource() +add_dependencies(nbench nbench_input) +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/sim/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/sim/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Benchmarks/sim/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG sim) +set(CPPFLAGS -DUNIX) +set(LDFLAGS ) +set(RUN_OPTIONS 8 ${CMAKE_CURRENT_SOURCE_DIR}/tob.38-44 ${CMAKE_CURRENT_SOURCE_DIR}/liv.42-48) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Benchmarks/tramp3d-v4/CMakeLists.txt @@ -0,0 +1,21 @@ +# Autogenerated from MultiSource/Benchmarks/tramp3d-v4/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG tramp3d-v4) +set(CPPFLAGS -fno-exceptions) +set(LDFLAGS -lstdc++) +if(DEFINED SMALL_PROBLEM_SIZE) + set(RUN_OPTIONS --cartvis 1.0 0.0 --rhomin 1e-8 -n 4 --domain 32 32 32) +else() + set(RUN_OPTIONS --cartvis 1.0 0.0 --rhomin 1e-8 -n 10 --domain 32 32 32) +endif() +set(FP_ABSTOLERANCE 0.0000001) +if("${ARCH}" STREQUAL "Mips") + set(RUNTIMELIMIT 700) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ..) +set(PARALLEL_DIRS Applications Benchmarks) +if(NOT DEFINED BENCHMARKING_ONLY) + list(APPEND PARALLEL_DIRS UnitTests) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Examples/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Examples/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/Examples/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../..) +set(PARALLEL_DIRS MultipleResults) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Examples/MultipleResults/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Examples/MultipleResults/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/Examples/MultipleResults/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../) +set(PROG MultipleResults) +set(LDFLAGS ) +set(EXTRA_TEST_RESULTS_FILE ${CMAKE_CURRENT_BINARY_DIR}/Output/MultipleResults.extra-results.txt) +set(RUN_OPTIONS ${EXTRA_TEST_RESULTS_FILE}) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/Examples/Noisy/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/Examples/Noisy/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/Examples/Noisy/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PROG Noisy) +set(CPPFLAGS ) +set(LDFLAGS ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/UnitTests/C++11/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/UnitTests/C++11/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from MultiSource/UnitTests/C++11/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS frame_layout) +list(APPEND CPPFLAGS -std=c++11) +string(FIND "${MIPSARCH}" "mips16" TMP1) +if(NOT "" STREQUAL "${TMP1}") + llvm_filter_out(TMP2 frame_layout ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP2}) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/UnitTests/C++11/frame_layout/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/UnitTests/C++11/frame_layout/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/UnitTests/C++11/frame_layout/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PROG frame_layout) +set(LDFLAGS ) +list(APPEND CPPFLAGS -std=c++11) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/UnitTests/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/UnitTests/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from MultiSource/UnitTests/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../..) +set(PARALLEL_DIRS C++11) +if("${ARCH}" STREQUAL "Mips") + list(APPEND PARALLEL_DIRS Mips) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/UnitTests/Mips/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/UnitTests/Mips/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from MultiSource/UnitTests/Mips/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS ) +string(FIND "${MIPSARCH}" "mips16" TMP1) +if(NOT "" STREQUAL "${TMP1}") + list(APPEND PARALLEL_DIRS Mips16) +endif() +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/UnitTests/Mips/Mips16/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/UnitTests/Mips/Mips16/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from MultiSource/UnitTests/Mips/Mips16/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +list(APPEND PARALLEL_DIRS multitest fp16_32_1) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/UnitTests/Mips/Mips16/fp16_32_1/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/UnitTests/Mips/Mips16/fp16_32_1/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/UnitTests/Mips/Mips16/fp16_32_1/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(PROG fp16_32_1) +set(CPPFLAGS ) +set(LDFLAGS ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: MultiSource/UnitTests/Mips/Mips16/multitest/CMakeLists.txt =================================================================== --- /dev/null +++ MultiSource/UnitTests/Mips/Mips16/multitest/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from MultiSource/UnitTests/Mips/Mips16/multitest/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(PROG multitest) +set(CPPFLAGS ) +set(LDFLAGS ) +llvm_multisource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Adobe-C++/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Adobe-C++/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from SingleSource/Benchmarks/Adobe-C++/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm -lstdc++) +set(LIBS -lstdc++) +set(FP_ABSTOLERANCE 0.01) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/BenchmarkGame/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/BenchmarkGame/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from SingleSource/Benchmarks/BenchmarkGame/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(DIRS Large) +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/BenchmarkGame/Large/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/BenchmarkGame/Large/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from SingleSource/Benchmarks/BenchmarkGame/Large/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +list(APPEND LDFLAGS -lm) +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from SingleSource/Benchmarks/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../..) +set(PARALLEL_DIRS Dhrystone CoyoteBench Shootout Shootout-C++ Stanford McGill Misc Misc-C++ Misc-C++-EH BenchmarkGame Adobe-C++ Polybench Linpack SmallPT) +list(APPEND LDFLAGS -lm) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/CoyoteBench/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/CoyoteBench/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from SingleSource/Benchmarks/CoyoteBench/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm -lstdc++) +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(XCORE_TARGET_NEEDS_MEMORY 128) + set(RUNTIMELIMIT 7200) + endif() +endif() +if("${ARCH}" STREQUAL "Mips") + set(RUNTIMELIMIT 1200) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Dhrystone/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Dhrystone/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/Benchmarks/Dhrystone/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Linpack/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Linpack/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from SingleSource/Benchmarks/Linpack/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm) +set(FP_TOLERANCE 0.0001) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/McGill/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/McGill/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/Benchmarks/McGill/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm ) +set(FP_TOLERANCE 0.001) +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP exptree) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Misc-C++-EH/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Misc-C++-EH/CMakeLists.txt @@ -0,0 +1,12 @@ +# Autogenerated from SingleSource/Benchmarks/Misc-C++-EH/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm -lstdc++) +set(LIBS -lstdc++) +set(REQUIRES_EH_SUPPORT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Misc-C++/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Misc-C++/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from SingleSource/Benchmarks/Misc-C++/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(DIRS Large) +list(APPEND LDFLAGS -lm -lstdc++) +set(LIBS -lstdc++) +set(FP_ABSTOLERANCE 0.01) +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(XCORE_TARGET_NEEDS_MEMORY 128) + endif() +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Misc-C++/Large/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Misc-C++/Large/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from SingleSource/Benchmarks/Misc-C++/Large/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +list(APPEND LDFLAGS -lm -lstdc++) +set(LIBS -lstdc++) +set(FP_ABSTOLERANCE 0.01) +set(HASH_PROGRAM_OUTPUT 1) +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(RUNTIMELIMIT 7200) + endif() +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Misc/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Misc/CMakeLists.txt @@ -0,0 +1,24 @@ +# Autogenerated from SingleSource/Benchmarks/Misc/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm ) +set(FP_TOLERANCE 0.001) +if("${ARCH}" STREQUAL "PowerPC") + if("${TARGET_OS}" STREQUAL "Darwin") + set(PROGRAMS_TO_SKIP dt) + endif() +endif() +if("${ARCH}" STREQUAL "Mips") + set(RUNTIMELIMIT 2000) +endif() +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(RUNTIMELIMIT 10800) + endif() +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(PARALLEL_DIRS datamining linear-algebra medley stencils) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/datamining/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/datamining/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/datamining/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PARALLEL_DIRS correlation covariance ) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/datamining/correlation/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/datamining/correlation/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/datamining/correlation/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG correlation) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/datamining/covariance/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/datamining/covariance/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/datamining/covariance/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG covariance) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PARALLEL_DIRS kernels solvers) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/2mm/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/2mm/CMakeLists.txt @@ -0,0 +1,26 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/2mm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG 2mm) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +else() + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) + endif() +endif() +if("${ARCH}" STREQUAL "Mips") + set(RUNTIMELIMIT 2000) +elseif("${ARCH}" STREQUAL "XCore") +else() + set(RUNTIMELIMIT 1000) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/3mm/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/3mm/CMakeLists.txt @@ -0,0 +1,26 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/3mm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG 3mm) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +else() + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) + endif() +endif() +if("${ARCH}" STREQUAL "Mips") + set(RUNTIMELIMIT 2000) +elseif("${ARCH}" STREQUAL "XCore") +else() + set(RUNTIMELIMIT 1000) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/CMakeLists.txt @@ -0,0 +1,18 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(PARALLEL_DIRS 2mm 3mm atax bicg cholesky doitgen gemm gemver gesummv mvt symm syr2k syrk trisolv trmm) +if(DEFINED BENCHMARKING_ONLY) + llvm_filter_out(TMP1 2mm ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP1}) + llvm_filter_out(TMP2 3mm ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP2}) + llvm_filter_out(TMP3 gemm ${PARALLEL_DIRS}) + set(PARALLEL_DIRS ${TMP3}) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/atax/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/atax/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/atax/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG atax) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 128) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/bicg/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/bicg/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/bicg/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG bicg) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 128) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/cholesky/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/cholesky/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/cholesky/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG cholesky) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/doitgen/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/doitgen/CMakeLists.txt @@ -0,0 +1,20 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/doitgen/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG doitgen) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +else() + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 64) + endif() +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gemm/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gemm/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gemm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG gemm) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gemver/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gemver/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gemver/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG gemver) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 128) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gesummv/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gesummv/CMakeLists.txt @@ -0,0 +1,20 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gesummv/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG gesummv) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +else() + if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 256) + endif() +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/mvt/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/mvt/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/mvt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG mvt) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 128) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/symm/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/symm/CMakeLists.txt @@ -0,0 +1,19 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/symm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG symm) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if("${ARCH}" STREQUAL "Mips") + set(RUNTIMELIMIT 2000) +endif() +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/syr2k/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/syr2k/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/syr2k/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG syr2k) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/syrk/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/syrk/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/syrk/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG syrk) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/trisolv/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/trisolv/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/trisolv/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG trisolv) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 128) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/kernels/trmm/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/kernels/trmm/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/kernels/trmm/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG trmm) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/solvers/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/solvers/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/solvers/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(PARALLEL_DIRS durbin dynprog gramschmidt lu) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/solvers/durbin/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/solvers/durbin/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/solvers/durbin/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG durbin) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 256) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/solvers/dynprog/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/solvers/dynprog/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/solvers/dynprog/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG dynprog) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/solvers/gramschmidt/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/solvers/gramschmidt/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/solvers/gramschmidt/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG gramschmidt) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/solvers/lu/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/solvers/lu/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/solvers/lu/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG lu) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/linear-algebra/solvers/ludcmp/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/linear-algebra/solvers/ludcmp/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/linear-algebra/solvers/ludcmp/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG ludcmp) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/medley/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/medley/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/medley/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PARALLEL_DIRS floyd-warshall reg_detect) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/medley/floyd-warshall/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/medley/floyd-warshall/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/medley/floyd-warshall/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG floyd-warshall) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/medley/reg_detect/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/medley/reg_detect/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/medley/reg_detect/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG reg_detect) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/stencils/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/stencils/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/stencils/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(PARALLEL_DIRS adi fdtd-2d fdtd-apml jacobi-1d-imper jacobi-2d-imper seidel-2d) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/stencils/adi/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/stencils/adi/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/stencils/adi/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG adi) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG fdtd-2d) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG fdtd-apml) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/stencils/jacobi-1d-imper/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/stencils/jacobi-1d-imper/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/stencils/jacobi-1d-imper/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG jacobi-1d-imper) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG jacobi-2d-imper) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Polybench/stencils/seidel-2d/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Polybench/stencils/seidel-2d/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Polybench/stencils/seidel-2d/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../../..) +set(POLYBENCH_UTILS SingleSource/Benchmarks/Polybench/utilities ) +set(PROG seidel-2d) +list(APPEND CFLAGS -I ${CMAKE_SOURCE_DIR}/${POLYBENCH_UTILS} -DPOLYBENCH_DUMP_ARRAYS) +if(DEFINED SMALL_PROBLEM_SIZE) + list(APPEND CFLAGS -DSMALL_DATASET) +endif() +set(HASH_PROGRAM_OUTPUT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Shootout-C++/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Shootout-C++/CMakeLists.txt @@ -0,0 +1,23 @@ +# Autogenerated from SingleSource/Benchmarks/Shootout-C++/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND CXXFLAGS -Wno-deprecated) +list(APPEND CPPFLAGS -Wno-deprecated) +set(FP_TOLERANCE 0.00000001) +set(DIRS EH) +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(XCORE_TARGET_NEEDS_MEMORY 256) + set(RUNTIMELIMIT 10800) + endif() +endif() +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP hello reversefile spellcheck sumcol wc wordfreq) +endif() +list(APPEND LDFLAGS -lstdc++) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Shootout-C++/EH/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Shootout-C++/EH/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from SingleSource/Benchmarks/Shootout-C++/EH/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(REQUIRES_EH_SUPPORT 1) +list(APPEND LDFLAGS -lstdc++) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Shootout/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Shootout/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/Shootout/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm) +if("${ARCH}" STREQUAL "XCore") + set(XCORE_TARGET_NEEDS_MEMORY 256) +endif() +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP hello) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/SmallPT/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/SmallPT/CMakeLists.txt @@ -0,0 +1,16 @@ +# Autogenerated from SingleSource/Benchmarks/SmallPT/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm -lstdc++) +set(FP_TOLERANCE 0.001) +if("${ARCH}" STREQUAL "XCore") + set(RUNTIMELIMIT 10800) +else() + set(RUNTIMELIMIT 1200) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Benchmarks/Stanford/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Benchmarks/Stanford/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/Benchmarks/Stanford/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lm) +set(FP_TOLERANCE 0.001) +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP IntMM) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ..) +set(PARALLEL_DIRS Regression Benchmarks) +if(NOT DEFINED BENCHMARKING_ONLY) + list(APPEND PARALLEL_DIRS UnitTests) +endif() +list(APPEND LDFLAGS -lm) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Regression/C++/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Regression/C++/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/Regression/C++/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(DIRS EH) +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP 2003-05-14-array-init 2003-05-14-expr_stmt 2003-06-08-BaseType 2003-06-08-VirtualFunctions 2003-06-13-Crasher 2003-08-20-EnumSizeProblem 2003-09-29-NonPODsByValue 2008-01-29-ParamAliasesReturn 2011-03-28-Bitfield BuiltinTypeInfo fixups global_ctor global_type ofstream_ctor pointer_member pointer_method pointer_method2 short_circuit_dtor) +endif() +list(APPEND LDFLAGS -lstdc++) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Regression/C++/EH/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Regression/C++/EH/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/Regression/C++/EH/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(REQUIRES_EH_SUPPORT 1) +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP class_hierarchy ConditionalExpr ctor_dtor_count ctor_dtor_count-2 dead_try_block exception_spec_test function_try_block inlined_cleanup recursive-throw simple_rethrow simple_throw throw_rethrow_test) +endif() +list(APPEND LDFLAGS -lstdc++) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Regression/C/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Regression/C/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from SingleSource/Regression/C/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +if("${ARCH}" STREQUAL "x86") + if(DEFINED USE_REFERENCE_OUTPUT) + set(EXEC_XFAILS casts) + endif() +endif() +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP 2003-05-14-initialize-string 2003-05-21-BitfieldHandling 2003-05-21-UnionBitfields 2003-05-21-UnionTest 2003-05-22-LocalTypeTest 2003-05-22-VarSizeArray 2003-05-23-TransparentUnion 2003-06-16-InvalidInitializer 2003-06-16-VolatileError 2003-10-12-GlobalVarInitializers 2004-02-03-AggregateCopy 2004-03-15-IndirectGoto 2005-05-06-LongLongSignedShift 2008-01-07-LongDouble badidx bigstack callargs casts compare ConstructorDestructorAttributes DuffsDevice globalrefs matrixTranspose pointer_arithmetic PR10189 PR1386 PR491 PR640 sumarray sumarray2d sumarraymalloc test_indvars testtrace) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Regression/C/SSE/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Regression/C/SSE/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/Regression/C/SSE/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +list(APPEND CFLAGS -msse2) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/Regression/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/Regression/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/Regression/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../..) +set(DIRS C++ C) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/C++11/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/C++11/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/UnitTests/C++11/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND CPPFLAGS -std=c++11 -pthread) +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP stdthreadbug) +endif() +list(APPEND LDFLAGS -lstdc++ -pthread) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/CMakeLists.txt @@ -0,0 +1,43 @@ +# Autogenerated from SingleSource/UnitTests/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../..) +set(DIRS SetjmpLongjmp) +set(DIRS ) +list(APPEND DIRS Vector) +list(APPEND DIRS Vectorizer) +list(APPEND DIRS SignlessTypes Threads C++11) +if("${TARGET_OS}" STREQUAL "Darwin") + list(APPEND DIRS ObjC ObjC++) +endif() +if("${TARGET_OS}" STREQUAL "Darwin") + set(PROGRAMS_TO_SKIP 2007-04-25-weak) + if("${ARCH}" STREQUAL "PowerPC") + list(APPEND PROGRAMS_TO_SKIP AtomicOps) + endif() +endif() +llvm_filter(TMP1 ${ARCH} x86_64 x86_64h) +if("" STREQUAL "${TMP1}") + list(APPEND PROGRAMS_TO_SKIP ms_struct-bitfield-init-1 ms_struct-bitfield-init ms_struct-bitfield ms_struct_pack_layout-1 ms_struct_pack_layout ms_struct-bitfield-1) +endif() +if("${ARCH}" STREQUAL "AArch64") + list(APPEND PROGRAMS_TO_SKIP blockstret) +endif() +if("${ARCH}" STREQUAL "Mips") + list(APPEND DIRS Mips) + string(FIND "${MIPSARCH}" "mips64" TMP2) + if("" STREQUAL "${TMP2}") + list(APPEND PROGRAMS_TO_SKIP AtomicOps) + endif() +endif() +if("${ARCH}" STREQUAL "XCore") + list(APPEND PROGRAMS_TO_SKIP AtomicOps) + list(APPEND PROGRAMS_TO_SKIP initp1) + set(XCORE_TARGET_NEEDS_MEMORY 1) +endif() +list(APPEND LDFLAGS -lstdc++) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/EH/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/EH/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from SingleSource/UnitTests/EH/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(REQUIRES_EH_SUPPORT 1) +list(APPEND LDFLAGS -lstdc++) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Integer/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Integer/CMakeLists.txt @@ -0,0 +1,21 @@ +# Autogenerated from SingleSource/UnitTests/Integer/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +execute_process(COMMAND date +%j OUTPUT_VARIABLE TMP1) +set(SEED TMP1) +set(RUN_OPTIONS 31415926) +set(ENABLE_LARGE_INTEGERS 0) +set(DISABLE_LLC 1) +set(DISABLE_JIT 1) +set(ENABLE_LLI 1) +set(USE_REFERENCE_OUTPUT 1) +list(APPEND LDFLAGS -lstdc++) +if("1" STREQUAL "${ENABLE_LARGE_INTEGERS}") + list(APPEND CPPFLAGS -DENABLE_LARGE_INTEGERS) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Mips/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Mips/CMakeLists.txt @@ -0,0 +1,13 @@ +# Autogenerated from SingleSource/UnitTests/Mips/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +string(FIND "${MIPSARCH}" "mips16" TMP1) +if(NOT "" STREQUAL "${TMP1}") + list(APPEND PARALLEL_DIRS Mips16) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Mips/Mips16/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Mips/Mips16/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/UnitTests/Mips/Mips16/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(DIRS ) +set(LEVEL ../../../..) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/ObjC++/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/ObjC++/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/UnitTests/ObjC++/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(DIRS ) +list(APPEND LDFLAGS -lstdc++ -lobjc -framework Foundation) +if(DEFINED CC_UNDER_TEST_IS_LLVM_GCC) + set(PROGRAMS_TO_SKIP property-reference-object) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/ObjC/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/ObjC/CMakeLists.txt @@ -0,0 +1,15 @@ +# Autogenerated from SingleSource/UnitTests/ObjC/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(DISABLE_JIT 1) +set(DIRS ) +list(APPEND LDFLAGS -lobjc -framework Foundation) +if(DEFINED CC_UNDER_TEST_IS_LLVM_GCC) + set(EXEC_XFAILS dot-syntax-2) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/SetjmpLongjmp/C++/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/SetjmpLongjmp/C++/CMakeLists.txt @@ -0,0 +1,11 @@ +# Autogenerated from SingleSource/UnitTests/SetjmpLongjmp/C++/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(REQUIRES_EH_SUPPORT 1) +list(APPEND LDFLAGS -lstdc++) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/SetjmpLongjmp/C/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/SetjmpLongjmp/C/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/UnitTests/SetjmpLongjmp/C/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(REQUIRES_EH_SUPPORT 1) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/SetjmpLongjmp/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/SetjmpLongjmp/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/UnitTests/SetjmpLongjmp/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(DIRS C C++) +set(LEVEL ../../..) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/SignlessTypes/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/SignlessTypes/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/UnitTests/SignlessTypes/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(DIRS Large) +set(LEVEL ../../..) +execute_process(COMMAND date +%j OUTPUT_VARIABLE TMP1) +set(SEED TMP1) +set(RUN_OPTIONS 31415926) +list(APPEND LDFLAGS -lstdc++) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/SignlessTypes/Large/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/SignlessTypes/Large/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from SingleSource/UnitTests/SignlessTypes/Large/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(RUN_OPTIONS 31415926) +list(APPEND LDFLAGS -lstdc++) +set(HASH_PROGRAM_OUTPUT 1) +if("${ARCH}" STREQUAL "x86") + if(DEFINED USE_REFERENCE_OUTPUT) + set(EXEC_XFAILS cast) + endif() +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Threads/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Threads/CMakeLists.txt @@ -0,0 +1,17 @@ +# Autogenerated from SingleSource/UnitTests/Threads/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +if(NOT "${ARCH}" STREQUAL "XCore") + list(APPEND LDFLAGS -lpthread) +else() + set(PROGRAMS_TO_SKIP tls) +endif() +if("${TARGET_OS}" STREQUAL "Darwin") + set(PROGRAMS_TO_SKIP tls 2010-12-08-tls) +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Vector/AArch64/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Vector/AArch64/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/UnitTests/Vector/AArch64/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(DIRS ) +set(LEVEL ../../../..) +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP aarch64_neon_intrinsics) +endif() +list(APPEND CFLAGS -std=c99) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Vector/Altivec/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Vector/Altivec/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/UnitTests/Vector/Altivec/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../../..) +set(DIRS ) +set(FP_TOLERANCE 0.002) +list(APPEND TARGET_FLAGS -maltivec) +list(APPEND TEST_TARGET_FLAGS -maltivec) +list(APPEND LCCFLAGS -maltivec) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Vector/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Vector/CMakeLists.txt @@ -0,0 +1,34 @@ +# Autogenerated from SingleSource/UnitTests/Vector/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +set(DIRS ) +if("${ARCH}" STREQUAL "PowerPC") + list(APPEND DIRS Altivec) +endif() +if("${ARCH}" STREQUAL "x86") + list(APPEND DIRS SSE) +endif() +llvm_filter(TMP1 ${ARCH} x86_64 x86_64h) +if("${ARCH}" STREQUAL "${TMP1}") + list(APPEND DIRS SSE) +endif() +if(NOT "${CC_UNDER_TEST_TARGET_IS_THUMBV7}" STREQUAL "") + list(APPEND DIRS NEON) +endif() +if("${ARCH}" STREQUAL "AArch64") + list(APPEND DIRS NEON AArch64) +endif() +if(NOT DEFINED CC_UNDER_TEST_IS_CLANG) + set(PROGRAMS_TO_SKIP constpool) +endif() +if("${ARCH}" STREQUAL "XCore") + if(NOT DEFINED SMALL_PROBLEM_SIZE) + set(RUNTIMELIMIT 7200) + endif() +endif() +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Vector/NEON/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Vector/NEON/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/UnitTests/Vector/NEON/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(DIRS ) +set(LEVEL ../../../..) +if(DEFINED BENCHMARKING_ONLY) + list(APPEND PROGRAMS_TO_SKIP simple) +endif() +list(APPEND CFLAGS -std=c99) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Vector/SSE/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Vector/SSE/CMakeLists.txt @@ -0,0 +1,14 @@ +# Autogenerated from SingleSource/UnitTests/Vector/SSE/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(DIRS ) +set(LEVEL ../../../..) +set(FP_TOLERANCE 0.016) +list(APPEND LDFLAGS -lm) +list(APPEND TARGET_FLAGS -msse2) +list(APPEND LCCFLAGS -msse2) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS}) Index: SingleSource/UnitTests/Vectorizer/CMakeLists.txt =================================================================== --- /dev/null +++ SingleSource/UnitTests/Vectorizer/CMakeLists.txt @@ -0,0 +1,10 @@ +# Autogenerated from SingleSource/UnitTests/Vectorizer/Makefile + +set(DIRS) +set(PARALLEL_DIRS) + +set(LEVEL ../../..) +list(APPEND LDFLAGS -lstdc++) +llvm_singlesource() + +llvm_add_subdirectories(${DIRS} ${PARALLEL_DIRS})