forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tiny-tensor-compiler: fix missing dependencies (spack#44465)
* tiny-tensor-compiler: fix missing dependencies * tiny-tensor-compiler: Remove dependency type for opencl c headers * [email protected] has a mandatory Python interpreter dependency * Remove [email protected] --------- Signed-off-by: Carsten Uphoff <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,10 @@ class Re2c(Package): | |
|
||
license("Public-Domain") | ||
|
||
# Python 3.7 is required for [email protected], but the clingo bootstrap on OpenSUSE Leap uses | ||
# the system Python 3.6 such that the bootstrap fails with an UnsatisfiableVersionSpecError | ||
# version("3.1", sha256="0ac299ad359e3f512b06a99397d025cfff81d3be34464ded0656f8a96676c029") | ||
version("3.0", sha256="b3babbbb1461e13fe22c630a40c43885efcfbbbb585830c6f4c0d791cf82ba0b") | ||
version("2.2", sha256="0fc45e4130a8a555d68e230d1795de0216dfe99096b61b28e67c86dfd7d86bda") | ||
version("2.1.1", sha256="036ee264fafd5423141ebd628890775aa9447a4c4068a6307385d7366fe711f8") | ||
version("2.1", sha256="8cba0d95c246c670de8f97f57def83a9c0f2113eaa6f7e4867a941f48f633540") | ||
|
@@ -33,6 +37,7 @@ class Re2c(Package): | |
depends_on("gmake", when="platform=linux") | ||
depends_on("gmake", when="platform=darwin") | ||
depends_on("gmake", when="platform=freebsd") | ||
# depends_on("python@3:", when="@3.1:", type="build") | ||
|
||
@property | ||
def make_tool(self): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,10 @@ class TinyTensorCompiler(CMakePackage): | |
depends_on("[email protected]:", type="build") | ||
depends_on("double-batched-fft-library ~sycl ~level-zero [email protected]:", type="link") | ||
depends_on("[email protected]:", when="+level-zero") | ||
depends_on("[email protected]:", when="+opencl") | ||
depends_on("[email protected]:", when="+opencl", type="link") | ||
depends_on("[email protected]:", type="build") | ||
depends_on("[email protected]:", type="build") | ||
|
||
def cmake_args(self): | ||
cxx_compiler = os.path.basename(self.compiler.cxx) | ||
|