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, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 8-- 9-- Hakefile for lib/rcce 10-- 11-------------------------------------------------------------------------- 12 13[ build library { target = "rcce", 14 cFiles = [ "rcce.c", "RCCE_reduce.c", "RCCE_comm.c", 15 "RCCE_debug.c", "bcast.c", "ring_barriers.c" ], 16 addIncludes = [ "/include/rcce" ], 17 addCFlags = [ "-DCOPPERRIDGE", "-Wno-parentheses", 18 "-Wno-unused", "-DBULK_TRANSFER_ENABLED" ], 19 flounderDefs = [ "rcce", "monitor" ], 20 flounderBindings = [ "rcce" ] 21 }, 22 build library { target = "rcce_nobulk", 23 cFiles = [ "rcce.c", "RCCE_reduce.c", "RCCE_comm.c", 24 "RCCE_debug.c", "bcast.c", "ring_barriers.c" ], 25 addIncludes = [ "/include/rcce" ], 26 addCFlags = [ "-DCOPPERRIDGE", "-Wno-parentheses", 27 "-Wno-unused" ], 28 flounderDefs = [ "rcce", "monitor" ], 29 flounderBindings = [ "rcce" ] 30 } 31] 32