summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRobert Cohn <robert.s.cohn@intel.com>2022-06-20 13:38:41 -0700
committerGitHub <noreply@github.com>2022-06-20 13:38:41 -0700
commitd95f53e1ac60d68eb8548c24fbad21fa9280be84 (patch)
treee3abe9f253eb7853e2e525dbf00c8b8b27f61c8c /var
parent0fe57962b3b34d0ec3de0de282f841b5f0a77c8d (diff)
downloadspack-d95f53e1ac60d68eb8548c24fbad21fa9280be84.tar.gz
spack-d95f53e1ac60d68eb8548c24fbad21fa9280be84.tar.bz2
spack-d95f53e1ac60d68eb8548c24fbad21fa9280be84.tar.xz
spack-d95f53e1ac60d68eb8548c24fbad21fa9280be84.zip
New (external-only) package: oneapi-igc (#31045)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/oneapi-igc/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/oneapi-igc/package.py b/var/spack/repos/builtin/packages/oneapi-igc/package.py
new file mode 100644
index 0000000000..157c1a591a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/oneapi-igc/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 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.package import *
+
+
+class OneapiIgc(Package):
+ """The Intel Graphics Compiler for OpenCL is an LLVM based compiler
+ for OpenCL targeting Intel Gen graphics hardware architecture.
+
+ """
+
+ homepage = "https://github.com/intel/intel-graphics-compiler"
+ has_code = False
+
+ maintainers = ['rscohn2']
+
+ version('1.0.10409')
+ version('1.0.8744')
+ version('1.0.8517')
+
+ def install(self, spec, prefix):
+ raise InstallError(
+ self.spec.format('{name} is not installable, you need to specify '
+ 'it as an external package in packages.yaml'))
+
+ @property
+ def libs(self):
+ return find_libraries(['libigc'], root=self.prefix, recursive=True)