Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zbeekman
Last active December 26, 2015 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zbeekman/7137401 to your computer and use it in GitHub Desktop.
Save zbeekman/7137401 to your computer and use it in GitHub Desktop.
# Client maintainer: ibeekman@something.umd.edu
set(CTEST_SITE "rge.umiacs.umd.edu")
set(CTEST_BUILD_NAME "Linux64-Intel")
set(CTEST_BUILD_CONFIGURATION Debug)
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
set(dashboard_model Nightly)
# dashboard_root_name = Change name of "My Tests" directory
# dashboard_source_name = Name of source directory (CMake)
# dashboard_binary_name = Name of binary directory (CMake-build)
file(WRITE my_cache.txt "//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/croccohomes/ibeekman/usr/local\n")
set(dashboard_cache my_cache.txt) # Initial CMakeCache.txt file content
# dashboard_bootstrap = Bootstrap parallel level (0 to disable)
# dashboard_do_coverage = True to enable coverage (ex: gcov)
# dashboard_do_memcheck = True to enable memcheck (ex: valgrind)
# CTEST_GIT_COMMAND = path to git command-line client
# CTEST_BUILD_FLAGS = build tool arguments (ex: -j2)
# CTEST_DASHBOARD_ROOT = Where to put source and build trees
# CTEST_TEST_CTEST = Whether to run long CTestTest* tests
# CTEST_TEST_TIMEOUT = Per-test timeout length
# CTEST_TEST_ARGS = ctest_test args (ex: PARALLEL_LEVEL 4)
# CMAKE_MAKE_PROGRAM = Path to "make" tool to use
#
# Options to configure Git:
# dashboard_git_url = Custom git clone url
# dashboard_git_branch = Custom remote branch to track
# dashboard_git_crlf = Value of core.autocrlf for repository
#
# For Makefile generators the script may be executed from an
# environment already configured to use the desired compilers.
# Alternatively the environment may be set at the top of the script:
#
# Run this before invoking ctest
# source /opt/intel/composer_xe_2013.2.146/bin/compilervars.sh intel64
set(ENV{CC} /opt/.opt.nfs/intel/composer_xe_2013.2.146/bin/intel64/icc) # C compiler
set(ENV{CXX} /opt/.opt.nfs/intel/composer_xe_2013.2.146/bin/intel64/icpc) # C++ compiler
set(ENV{FC} /opt/.opt.nfs/intel/composer_xe_2013.2.146/bin/intel64/ifort) # Fortran compiler (optional)
# set(ENV{LD_LIBRARY_PATH} /path/to/vendor/lib) # (if necessary)
include(${CTEST_SCRIPT_DIRECTORY}/cmake_common.cmake)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment