1-------------------------------------------------------------------------- 2-- Copyright (c) 2007-2009, ETH Zurich. 3-- All rights reserved. 4-- 5-- This file is distributed under the terms in the attached LICENSE file. 6-- If you do not find this file, copies can be found by writing to: 7-- ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 8-- 9-- Hakefile for /usr/bomp_benchmark 10-- 11-------------------------------------------------------------------------- 12 13let commonCFiles = [ "c_timers.c", "c_print_results.c", "c_randdp.c", "wtime.c"] 14 template = application { omitCFlags = [ "-Wshadow", "-Wstrict-prototypes", 15 "-Wmissing-prototypes", 16 "-Wmissing-declarations", "-Wall", 17 "-Werror" ], 18 addCFlags = [ "-DBOMP", "-fopenmp", "-Wno-unused", 19 "-Wno-old-style-definition", 20 "-Wno-implicit-function-declaration", 21 "-Wno-aggregate-return" ], 22 addIncludes = [ "/lib/bomp" ], 23 addLibraries = [ "bomp" ], 24 architectures = [ "x86_64" ] 25 } 26 27in 28 [ build template { target = "bomp_benchmark_cg", 29 cFiles = "cg.c" : commonCFiles }, 30 build template { target = "bomp_benchmark_ft", 31 cFiles = "ft.c" : commonCFiles }, 32 build template { target = "bomp_benchmark_is", 33 cFiles = "is.c" : commonCFiles } 34 ] 35