diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/bolt/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/bolt/package.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bolt/package.py b/var/spack/repos/builtin/packages/bolt/package.py new file mode 100644 index 0000000000..5d24e1fa15 --- /dev/null +++ b/var/spack/repos/builtin/packages/bolt/package.py @@ -0,0 +1,31 @@ +# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Bolt(CMakePackage): + """BOLT targets a high-performing OpenMP implementation, + especially specialized for fine-grain parallelism. Unlike other + OpenMP implementations, BOLT utilizes a lightweight threading + model for its underlying threading mechanism. It currently adopts + Argobots, a new holistic, low-level threading and tasking runtime, + in order to overcome shortcomings of conventional OS-level + threads. The current BOLT implementation is based on the OpenMP + runtime in LLVM, and thus it can be used with LLVM/Clang, Intel + OpenMP compiler, and GCC.""" + + homepage = "http://www.bolt-omp.org/" + url = "https://github.com/pmodels/bolt/releases/download/v1.0b1/bolt-1.0b1.tar.gz" + + version("1.0b1", "df76beb3a7f13ae2dcaf9ab099eea87b") + + def cmake_args(self): + options = [ + '-DLIBOMP_USE_ITT_NOTIFY=off', + '-DLIBOMP_USE_ARGOBOTS=on' + ] + + return options |