blob: 08f15fa8f1fd64ff5f70ab4429defbb4f32b222b [file] [log] [blame]
#!/bin/bash
#
# gcc-pthreads.bldconf - file containing information necessary to build a
# specific program of the PARSEC benchmark suite with
# gcc and pthreads
#
# Copyright (C) 2007-2008 Princeton University
# Written by Christian Bienia
# Compilation and linking options.
# This is the configuration we'll use to build the program. Each package of the
# benchmark suite has such a file with information that will be added to the
# global configuration. All variables set in the global configuration files can
# be referenced here.
# Package dependencies
case `arch` in
i*86|x86_64)
build_deps="yasm"
;;
*)
build_deps=""
;;
esac
# Environment to use for configure script and Makefile
build_env="PATH=\"${PARSECDIR}/pkgs/tools/yasm/inst/${PARSECPLAT}/bin:${PATH}\""
# Whether the build system supports only in-place compilation.
# If TRUE, then all sources will be copied to the build directory before we
# start building the package. Required for older build systems which don't
# support VPATH.
build_inplace="TRUE"
# Arguments to pass to the configure script, if it exists
build_conf="--enable-pthread --extra-asflags=\"${ASFLAGS}\" --extra-cflags=\"${CFLAGS} -fno-pie -no-pie\" --extra-ldflags=\"${LDFLAGS} -fno-pie -no-pie ${LIBS}\" --build=${GNU_HOST_NAME} --host=${GNU_TARGET_NAME}"