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.
- Loading branch information
Showing
5 changed files
with
57 additions
and
8 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 |
---|---|---|
|
@@ -100,6 +100,7 @@ class Edm4hep(CMakePackage): | |
) | ||
|
||
depends_on("[email protected]:", type="build") | ||
depends_on("[email protected]:", type="build", when="@0.10.3:") | ||
depends_on("python", type="build") | ||
|
||
depends_on("[email protected]:") | ||
|
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
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
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
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 2013-2023 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 Yosys(MakefilePackage): | ||
"""Yosys is a framework for RTL synthesis tools. It currently has extensive | ||
Verilog-2005 support and provides a basic set of synthesis algorithms for | ||
various application domains. | ||
Yosys can be adapted to perform any synthesis job by combining the existing | ||
passes (algorithms) using synthesis scripts and adding additional passes | ||
as needed by extending the yosys C++ code base. | ||
Yosys is free software licensed under the ISC license (a GPL compatible | ||
license that is similar in terms to the MIT license or the 2-clause BSD license). | ||
""" | ||
|
||
homepage = "https://yosyshq.net/yosys" | ||
url = "https://github.com/YosysHQ/yosys/archive/refs/tags/yosys-0.35.tar.gz" | ||
git = "https://github.com/YosysHQ/yosys.git" | ||
|
||
maintainers("davekeeshan") | ||
|
||
version("master", branch="master") | ||
|
||
version("0.35", sha256="a00643cf4cf83701bfa2b358066eb9d360393d30e8f5a8e65f619ab1fd10474a") | ||
version("0.34", sha256="57897bc3fe5fdc940e9f3f3ae03b84f5f8e9149b6f26d3699f7ecb9f31a41ae0") | ||
|
||
depends_on("automake", type="build") | ||
depends_on("readline") | ||
depends_on("pkg-config") | ||
depends_on("tcl") | ||
depends_on("zlib") | ||
depends_on("llvm") | ||
|
||
def setup_build_environment(self, env): | ||
env.set("PREFIX", self.prefix) | ||
env.set("CXXFLAGS", f'-I{self.spec["readline"].prefix.include}') | ||
env.set( | ||
"LDFLAGS", f'-L{self.spec["readline"].prefix.lib} -L{self.spec["zlib"].prefix.lib}' | ||
) | ||
env.set("ABC_READLINE_INCLUDES", f'-I{self.spec["readline"].prefix.include}') |