Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion MicroBenchmarks/LCALS/SubsetALambdaLoops/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
list(APPEND CPPFLAGS -std=c++11 -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
list(APPEND CPPFLAGS -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
llvm_test_run()
llvm_test_executable(lcalsALambda ../main.cxx LambdaSubsetAbenchmarks.cxx ../LCALSStats.cxx ../LCALSSuite.cxx ../LCALSTraversalMethods.cxx ../runReferenceLoops.cxx)
set_property(TARGET lcalsALambda PROPERTY CXX_STANDARD 11)
target_link_libraries(lcalsALambda benchmark)
3 changes: 2 additions & 1 deletion MicroBenchmarks/LCALS/SubsetARawLoops/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
list(APPEND CPPFLAGS -std=c++11 -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
list(APPEND CPPFLAGS -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
llvm_test_run()
llvm_test_executable(lcalsARaw ../main.cxx RawSubsetAbenchmarks.cxx ../LCALSStats.cxx ../LCALSSuite.cxx ../runReferenceLoops.cxx)
set_property(TARGET lcalsARaw PROPERTY CXX_STANDARD 11)
target_link_libraries(lcalsARaw benchmark)
3 changes: 2 additions & 1 deletion MicroBenchmarks/LCALS/SubsetBLambdaLoops/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
list(APPEND CPPFLAGS -std=c++11 -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
list(APPEND CPPFLAGS -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
llvm_test_run()
llvm_test_executable(lcalsBLambda ../main.cxx LambdaSubsetBbenchmarks.cxx ../LCALSStats.cxx ../LCALSSuite.cxx ../LCALSTraversalMethods.cxx ../runReferenceLoops.cxx)
set_property(TARGET lcalsBLambda PROPERTY CXX_STANDARD 11)
target_link_libraries(lcalsBLambda benchmark)

3 changes: 2 additions & 1 deletion MicroBenchmarks/LCALS/SubsetBRawLoops/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
list(APPEND CPPFLAGS -std=c++11 -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
list(APPEND CPPFLAGS -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
llvm_test_run()
llvm_test_executable(lcalsBRaw ../main.cxx RawSubsetBbenchmarks.cxx ../LCALSStats.cxx ../LCALSSuite.cxx ../LCALSTraversalMethods.cxx ../runReferenceLoops.cxx)
set_property(TARGET lcalsBRaw PROPERTY CXX_STANDARD 11)
target_link_libraries(lcalsBRaw benchmark)

3 changes: 2 additions & 1 deletion MicroBenchmarks/LCALS/SubsetCLambdaLoops/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
list(APPEND CPPFLAGS -std=c++11 -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
list(APPEND CPPFLAGS -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
#llvm_test_run(--benchmark_repetitions=5)
llvm_test_run()
llvm_test_executable(lcalsCLambda ../main.cxx LambdaSubsetCbenchmarks.cxx ../LCALSStats.cxx ../LCALSSuite.cxx ../LCALSTraversalMethods.cxx ../runReferenceLoops.cxx)
set_property(TARGET lcalsCLambda PROPERTY CXX_STANDARD 11)
target_link_libraries(lcalsCLambda benchmark)
3 changes: 2 additions & 1 deletion MicroBenchmarks/LCALS/SubsetCRawLoops/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
list(APPEND CPPFLAGS -std=c++11 -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
list(APPEND CPPFLAGS -DLCALS_USE_DOUBLE -DLCALS_USE_RESTRICT_PTR -DLCALS_VERIFY_CHECKSUM -DLCALS_USE_CLOCK -DLCALS_COMPILER_CLANG)
llvm_test_run()
llvm_test_executable(lcalsCRaw ../main.cxx RawSubsetCbenchmarks.cxx ../LCALSStats.cxx ../LCALSSuite.cxx ../LCALSTraversalMethods.cxx ../runReferenceLoops.cxx)
set_property(TARGET lcalsCRaw PROPERTY CXX_STANDARD 11)
target_link_libraries(lcalsCRaw benchmark)
3 changes: 1 addition & 2 deletions MicroBenchmarks/MemFunctions/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
list(APPEND CPPFLAGS -std=c++11)

llvm_test_run()

llvm_test_executable(MemFunctions main.cpp)
set_property(TARGET MemFunctions PROPERTY CXX_STANDARD 11)

target_link_libraries(MemFunctions benchmark)
3 changes: 2 additions & 1 deletion MicroBenchmarks/XRay/FDRMode/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# FDRMode test is failing on Darwin because
# `__xray_log_select_mode("xray-fdr")` returns `XRAY_MODE_NOT_FOUND`.

list(APPEND CPPFLAGS -std=c++11 -Wl,--gc-sections -fxray-instrument)
list(APPEND CPPFLAGS -Wl,--gc-sections -fxray-instrument)
list(APPEND LDFLAGS -fxray-instrument)
llvm_test_run()
llvm_test_executable(fdrmode-bench fdrmode-bench.cc)
set_property(TARGET fdrmode-bench PROPERTY CXX_STANDARD 11)
target_link_libraries(fdrmode-bench benchmark)
3 changes: 2 additions & 1 deletion MicroBenchmarks/XRay/ReturnReference/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
# 'MicroBenchmarks/XRay/ReturnReference/CMakeFiles/retref-bench.dir/retref-bench.cc.o'
# for architecture x86_64

list(APPEND CPPFLAGS -std=c++11 -Wl,--gc-sections -fxray-instrument)
list(APPEND CPPFLAGS -Wl,--gc-sections -fxray-instrument)
list(APPEND LDFLAGS -fxray-instrument)
llvm_test_run()
llvm_test_executable(retref-bench retref-bench.cc)
set_property(TARGET hatref-bench PROPERTY CXX_STANDARD 11)
target_link_libraries(retref-bench benchmark)
3 changes: 2 additions & 1 deletion MicroBenchmarks/harris/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
list(APPEND CPPFLAGS -std=c++11 -ffast-math)
list(APPEND CPPFLAGS -ffast-math)

llvm_test_run(WORKDIR %S)
llvm_test_verify_hash_program_output(%S/output.txt)
llvm_test_verify(%b/${FPCMP} %S/harris.reference_output %S/output.txt)

llvm_test_executable(harris harrisKernel.cpp main.cpp)
set_property(TARGET harris PROPERTY CXX_STANDARD 11)
target_link_libraries(harris benchmark)
llvm_test_data(harris harris.reference_output)
3 changes: 2 additions & 1 deletion MultiSource/Applications/Burg/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
list(APPEND CPPFLAGS -DDEBUG)
list(APPEND CFLAGS -std=gnu89 -Wno-int-conversion)
list(APPEND CFLAGS -Wno-int-conversion)
set(RUN_OPTIONS < sample.gr)

include_directories(${CMAKE_CURRENT_BINARY_DIR})
llvm_multisource(burg)
set_property(TARGET burg PROPERTY C_STANDARD 90)
llvm_test_data(burg sample.gr)
1 change: 1 addition & 0 deletions MultiSource/Applications/ClamAV/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ llvm_multisource(clamscan
zlib_uncompr.c
zlib_zutil.c
)
set_property(TARGET clamscan PROPERTY C_STANDARD 17)
if(TARGET_OS STREQUAL "Linux")
find_package(Intl REQUIRED)
target_link_libraries(clamscan ${Intl_LIBRARIES})
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Applications/JM/ldecod/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ list(APPEND CPPFLAGS -fcommon -D__USE_LARGEFILE64 -D_FILE_OFFSET_BITS=64)
list(APPEND LDFLAGS -lm)
set(RUN_OPTIONS -i data/test.264 -o Output/test_dec.yuv -r data/test_rec.yuv)
llvm_multisource(ldecod)
set_property(TARGET ldecod PROPERTY C_STANDARD 17)
llvm_test_data(ldecod data/test.264 data/test_rec.yuv)
1 change: 1 addition & 0 deletions MultiSource/Applications/JM/lencod/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ else()
set(RUN_OPTIONS -d data/encoder.cfg -p InputFile=data/foreman_part_qcif_444.yuv -p LeakyBucketRateFile=data/leakybucketrate.cfg -p QmatrixFile=data/q_matrix.cfg)
endif()
llvm_multisource(lencod)
set_property(TARGET lencod PROPERTY C_STANDARD 17)
if(SMALL_PROBLEM_SIZE)
llvm_test_data(lencod data/encoder_small.cfg)
else()
Expand Down
1 change: 1 addition & 0 deletions MultiSource/Applications/SPASS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ endif()
set(RUN_OPTIONS ${INPUTS})
set(HASH_PROGRAM_OUTPUT 1)
llvm_multisource(SPASS)
set_property(TARGET SPASS PROPERTY C_STANDARD 17)
llvm_test_data(SPASS ${INPUTS})
1 change: 1 addition & 0 deletions MultiSource/Applications/aha/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
llvm_multisource(aha)
set_property(TARGET aha PROPERTY C_STANDARD 17)
1 change: 1 addition & 0 deletions MultiSource/Applications/lemon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ if(NOT TEST_SUITE_BENCHMARKING_ONLY)
set(RUN_OPTIONS ${INPUTS})
set(HASH_PROGRAM_OUTPUT 1)
llvm_multisource(lemon lemon.c)
set_property(TARGET lemon PROPERTY C_STANDARD 17)
llvm_test_data(lemon ${INPUTS} lempar.c)
endif()
1 change: 1 addition & 0 deletions MultiSource/Applications/obsequi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ else()
endif()
set(RUN_OPTIONS < input)
llvm_multisource(Obsequi)
set_property(TARGET Obsequi PROPERTY C_STANDARD 17)
llvm_test_data(Obsequi input)
1 change: 1 addition & 0 deletions MultiSource/Applications/oggenc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ list(APPEND CFLAGS -ffp-contract=off -DFMA_DISABLED=1)
list(APPEND LDFLAGS -lm)
set(RUN_OPTIONS -Q -s 901820 - < tune)
llvm_multisource(oggenc)
set_property(TARGET oggenc PROPERTY C_STANDARD 17)
llvm_test_data(oggenc tune)
1 change: 1 addition & 0 deletions MultiSource/Applications/sgefa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ else()
list(APPEND CPPFLAGS -DSCALE=40)
endif()
llvm_multisource(sgefa)
set_property(TARGET sgefa PROPERTY C_STANDARD 17)
1 change: 1 addition & 0 deletions MultiSource/Applications/spiff/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
list(APPEND CFLAGS -Wno-implicit-int)
set(RUN_OPTIONS Sample.3 Sample.4)
llvm_multisource(spiff)
set_property(TARGET spiff PROPERTY C_STANDARD 17)
llvm_test_data(spiff Sample.3 Sample.4)
1 change: 1 addition & 0 deletions MultiSource/Applications/sqlite3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ llvm_multisource(sqlite3
sqlite3.c
shell.c
)
set_property(TARGET sqlite3 PROPERTY C_STANDARD 17)
add_dependencies(sqlite3 sqlite_input)
llvm_test_data(sqlite3 sqlite3rc commands)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/ASCI_Purple/SMG2000/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ else()
set(RUN_OPTIONS "-n 100 40 100 -c 0.1 1.0 10.0")
endif()
llvm_multisource(smg2000)
set_property(TARGET smg2000 PROPERTY C_STANDARD 17)
target_include_directories(smg2000 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/BitBench/five11/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set(RUN_OPTIONS input-file)
llvm_multisource(five11)
set_property(TARGET five11 PROPERTY C_STANDARD 17)
llvm_test_data(five11 input-file)
3 changes: 2 additions & 1 deletion MultiSource/Benchmarks/Bullet/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
list(APPEND CPPFLAGS -I${CMAKE_CURRENT_SOURCE_DIR}/include -std=gnu++98 -DNO_TIME)
list(APPEND CPPFLAGS -I${CMAKE_CURRENT_SOURCE_DIR}/include -DNO_TIME)
list(APPEND LDFLAGS -lm)
llvm_multisource(bullet)
set_property(TARGET bullet PROPERTY CXX_STANDARD 98)
3 changes: 2 additions & 1 deletion MultiSource/Benchmarks/DOE-ProxyApps-C/CoMD/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
list(APPEND CFLAGS -std=c99 -DDOUBLE)
list(APPEND CFLAGS -DDOUBLE)
list(APPEND LDFLAGS -lm)

set(RUN_OPTIONS -e -x 10 -y 10 -z 10 --potDir .)
llvm_multisource(CoMD)
set_property(TARGET CoMD PROPERTY C_STANDARD 99)
llvm_test_data(CoMD Cu_u6.eam)
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
list(APPEND LDFLAGS -lm)
set(RUN_OPTIONS -x medsmall1.adj_list)
llvm_multisource(PathFinder)
set_property(TARGET PathFinder PROPERTY C_STANDARD 17)
llvm_test_data(PathFinder medsmall1.adj_list)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS -s small -l 100000 -p 1000 -w 1000)
llvm_multisource(rsbench)
set_property(TARGET rsbench PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS -i default.in)
llvm_multisource(SimpleMOC)
set_property(TARGET SimpleMOC PROPERTY C_STANDARD 99)
llvm_test_data(SimpleMOC default.in)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Fhourstones/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
list(APPEND CPPFLAGS -DUNIX -DTRANSIZE=1050011 -DPROBES=8 -DREPORTPLY=8)
set(RUN_OPTIONS < input)
llvm_multisource(fhourstones)
set_property(TARGET fhourstones PROPERTY C_STANDARD 17)
llvm_test_data(fhourstones input)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/MallocBench/cfrac/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ llvm_multisource(cfrac
pcfrac.c
pgcd.c
)
set_property(TARGET cfrac PROPERTY C_STANDARD 17)
2 changes: 1 addition & 1 deletion MultiSource/Benchmarks/MallocBench/espresso/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
list(APPEND CPPFLAGS -DNOMEMOPT)
list(APPEND CFLAGS -std=gnu89)
set(RUN_OPTIONS -t INPUT/largest.espresso)
llvm_multisource(espresso)
set_property(TARGET espresso PROPERTY C_STANDARD 90)
llvm_test_data(espresso INPUT/largest.espresso)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/MallocBench/gs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,4 @@ llvm_test_data(gs
ppath.ps
quit.ps
)
set_property(TARGET gs PROPERTY C_STANDARD 17)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/McCat/15-trie/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
list(APPEND LDFLAGS -lm)
list(APPEND RUN_OPTIONS trie.in1)
llvm_multisource(trie)
set_property(TARGET trie PROPERTY C_STANDARD 17)
llvm_test_data(trie trie.in1)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/McCat/18-imp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -Wno-implicit-int)
set(RUN_OPTIONS ./sg01.imp)
llvm_multisource(imp)
set_property(TARGET imp PROPERTY C_STANDARD 17)
llvm_test_data(imp sg01.imp sg01.pgm)
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int)
list(APPEND LDFLAGS -lm)
set(RUN_OPTIONS -a -d americanmed+ < large.txt)
llvm_multisource(office-ispell)
set_property(TARGET office-ispell PROPERTY C_STANDARD 17)
llvm_test_data(office-ispell americanmed+.hash large.txt)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Olden/bh/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ else()
endif()
endif()
llvm_multisource(bh)
set_property(TARGET bh PROPERTY C_STANDARD 17)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Olden/bisort/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ else()
set(RUN_OPTIONS 700000)
endif()
llvm_multisource(bisort)
set_property(TARGET bisort PROPERTY C_STANDARD 17)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Olden/voronoi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ else()
endif()
set(HASH_PROGRAM_OUTPUT 1)
llvm_multisource(voronoi)
set_property(TARGET voronoi PROPERTY C_STANDARD 17)
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ list(APPEND CPPFLAGS -fcommon)
list(APPEND CPPFLAGS -Wno-error=incompatible-pointer-types)
list(APPEND LDFLAGS -lm)
llvm_multisource(timberwolfmc)
set_property(TARGET timberwolfmc PROPERTY C_STANDARD 17)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/assembler/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
list(APPEND CFLAGS -Wno-int-conversion)
list(APPEND LDFLAGS -lm)
llvm_multisource(assembler)
set_property(TARGET assembler PROPERTY C_STANDARD 17)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/bison/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion)
set(RUN_OPTIONS parse.y.in -v)
llvm_multisource(mybison)
set_property(TARGET mybison PROPERTY C_STANDARD 17)
llvm_test_data(mybison parse.y.in)
2 changes: 1 addition & 1 deletion MultiSource/Benchmarks/Prolangs-C/cdecl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND CFLAGS -std=gnu89)
set(RUN_OPTIONS < testset)
llvm_multisource(cdecl)
set_property(TARGET cdecl PROPERTY C_STANDARD 90)
llvm_test_data(cdecl testset)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/loader/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
list(APPEND CPPFLAGS -fcommon)
list(APPEND LDFLAGS -lm)
llvm_multisource(loader)
set_property(TARGET loader PROPERTY C_STANDARD 17)
1 change: 1 addition & 0 deletions MultiSource/Benchmarks/Prolangs-C/simulator/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
list(APPEND CPPFLAGS -fcommon)
list(APPEND LDFLAGS -lm)
llvm_multisource(simulator)
set_property(TARGET simulator PROPERTY C_STANDARD 17)
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
list(APPEND CFLAGS -Wno-int-conversion)
set(RUN_OPTIONS -v ALL < main.c)
llvm_multisource(unix-smail)
set_property(TARGET unix-smail PROPERTY C_STANDARD 17)
llvm_test_data(unix-smail main.c)
2 changes: 1 addition & 1 deletion MultiSource/Benchmarks/TSVC/ControlFlow-dbl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 2325 14)
llvm_multisource(ControlFlow-dbl)
set_property(TARGET ControlFlow-dbl PROPERTY C_STANDARD 99)
2 changes: 1 addition & 1 deletion MultiSource/Benchmarks/TSVC/ControlFlow-flt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 2325 5)
llvm_multisource(ControlFlow-flt)
set_property(TARGET ControlFlow-flt PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 1640 14)
llvm_multisource(ControlLoops-dbl)
set_property(TARGET ControlLoops-dbl PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 1640 5)
llvm_multisource(ControlLoops-flt)
set_property(TARGET ControlLoops-flt PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 5880 14)
llvm_multisource(CrossingThresholds-dbl)
set_property(TARGET CrossingThresholds-dbl PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 5880 5)
llvm_multisource(CrossingThresholds-flt)
set_property(TARGET CrossingThresholds-flt PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 3125 14)
llvm_multisource(Equivalencing-dbl)
set_property(TARGET Equivalencing-dbl PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 3125 5)
llvm_multisource(Equivalencing-flt)
set_property(TARGET Equivalencing-flt PROPERTY C_STANDARD 99)
2 changes: 1 addition & 1 deletion MultiSource/Benchmarks/TSVC/Expansion-dbl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 4160 14)
llvm_multisource(Expansion-dbl)
set_property(TARGET Expansion-dbl PROPERTY C_STANDARD 99)
2 changes: 1 addition & 1 deletion MultiSource/Benchmarks/TSVC/Expansion-flt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 4160 5)
llvm_multisource(Expansion-flt)
set_property(TARGET Expansion-flt PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 3450 14)
llvm_multisource(GlobalDataFlow-dbl)
set_property(TARGET GlobalDataFlow-dbl PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 3450 5)
llvm_multisource(GlobalDataFlow-flt)
set_property(TARGET GlobalDataFlow-flt PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 12500 14)
llvm_multisource(IndirectAddressing-dbl)
set_property(TARGET IndirectAddressing-dbl PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 12500 5)
llvm_multisource(IndirectAddressing-flt)
set_property(TARGET IndirectAddressing-flt PROPERTY C_STANDARD 99)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
list(APPEND LDFLAGS -lm)
list(APPEND CFLAGS -std=gnu99)
set(RUN_OPTIONS 9100 14)
llvm_multisource(InductionVariable-dbl)
set_property(TARGET InductionVariable-dbl PROPERTY C_STANDARD 99)
Loading