diff --git a/var/spack/repos/builtin/packages/oclgrind/package.py b/var/spack/repos/builtin/packages/oclgrind/package.py new file mode 100644 index 0000000000..c3b9302583 --- /dev/null +++ b/var/spack/repos/builtin/packages/oclgrind/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2020 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 Oclgrind(CMakePackage): + """An OpenCL device simulator and debugger.""" + + homepage = "https://github.com/jrprice/Oclgrind" + url = "https://github.com/jrprice/Oclgrind/archive/v19.10.tar.gz" + git = "https://github.com/jrprice/Oclgrind" + + maintainers = ['matthiasdiener'] + + version('master', branch='master') + version('19.10', sha256='f9a8f22cb9f6d88670f2578c46ba0d728ba8eaee5c481c2811129dc157c43dc0') + + depends_on("llvm +clang @5.0:")