1-------------------------------------------------------------------------- 2-- Copyright (c) 2007-2010, 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, Universitaetsstrasse 6, CH-8092 Zurich. Attn: Systems Group. 8-- 9-- Hakefile for /usr/bomp_benchmark 10-- 11-------------------------------------------------------------------------- 12 13let template = application { 14 addCFlags = [ 15 "-DBOMP", 16 "-fopenmp" 17 ], 18 addLibraries = [ 19 "bomp", 20 "bench", 21 "trace" 22 ], 23 architectures = [ 24 "x86_64", 25 "k1om" 26 ] 27} 28in 29[ build template { 30 target = "benchmarks/xomp_spawn", 31 cFiles = [ 32 "spawn_bench.c", 33 "common.c" 34 ] 35 36 }, 37 38 build template { 39 target = "benchmarks/xomp_share", 40 cFiles = [ 41 "share_bench.c", 42 "common.c" 43 ] 44 }, 45 46 build template { 47 target = "benchmarks/xomp_work", 48 cFiles = [ 49 "work_bench.c", 50 "common.c" 51 ] 52 } 53] 54