Skip to content
Kermin E Fleming edited this page Feb 15, 2015 · 2 revisions

Awb.config

Awb.confg is the configuration file for a workspace.

Awb.config is in the conventional INIFILE format. Variable substitution is supported in values in the form $() with any variable defined in the [Vars] section.

The most significant option in this file is the SEARCHPATH in the [PATH] section which specifies a colon (:) separated list of root directories for packages that are being used as part of the uniondir for the workspace. Paths in the SEARCHPATH my be absolute or relative to the root of the workspace.

#
# Global information for the workspace
#
[Global]
# Perl class that is used to read this file
Class=Asim::Workspace
# Workspace version number
VERSION=1.4
# Display splash (1) or not (0)
SPLASH=1

#
# Utility variables (
#
[Vars]
shared=/usr/local/share/asim

#
# Paths to important information
#
[Paths]
# Directory containing ASIM source tree
ASIMDIR=$(shared)/asimcore/HEAD

# Directory containing actual benchmarks
BENCHMARKDIR=/usr/local/share/benchmarks

# Path where we search for packages
SEARCHPATH=$(shared)/asimcore/HEAD:src/asimcore:src/platforms:src/hasim

#
# Flags to control package configure/build
#
[Package]
# Configure flags for all packages in this workspace
CONFIGFLAGS=

# Make flags for all packages in this workspace
MAKEFLAGS=-j8

#
# Flags to control model builds
#
[Build]
# Make flags for all model builds
MAKEFLAGS=-j8

# Compiler (GEM | GNU)
COMPILER=GNU

# Do parallel make (1) or not (0)
PARALLEL=1

# DEBUG or OPTIMIZE
BUILDTYPE=OPTIMIZE

#
# Per utility option flags for tools run in this workspace. 
# These will override flags with the following priority:
#
#      command line switches            -- highest priority
#      awb.config                       -- this file!
#      ~/.asim/asimrc
#      <INSTALLDIR>/etc/asim/asimrc
#      internal tool defaults           -- lowest priority
#
# Available flags can be found by running tool with the --options switch
#
[regression.launcher]
PACKAGES=hasim
RUNTYPE=regression

[asim-run]
WAIT_FOR_CHILDREN=1

Clone this wiki locally