-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add klayout #20396
Closed
Closed
add klayout #20396
Changes from 3 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a6b9a35
inital attempt
curtisma 892a7ca
fix issues preventing the build and lint
curtisma bacf13c
update sha256 hash
curtisma 97cbb40
fix source url
curtisma 39520bc
fix url
curtisma e63acd0
Merge branch 'conda-forge:main' into klayout
curtisma fa8027e
fix python issue
curtisma 7f518e0
Merge branch 'klayout' of https://github.com/cascode-labs/staged-reci…
curtisma 80d86b7
add libpython-static to host requirements
curtisma 5953d79
Add maintainers
curtisma 5b08369
fix windows
curtisma ae56c2d
add linux debug flag
curtisma ca789cb
add make to build req
curtisma 31b81b2
fix sha256 hash
curtisma eedef1e
Update package name
curtisma f80d310
renname back to klayout and try to fix lint error
curtisma 624cd4f
add g++ patch
curtisma cd8004b
add mesa-libgl build req
curtisma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
call %SRC_DIR%\build.bat | ||
cp %SRC_DIR%\bin-release\klayout.exe %prefix%\bin |
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,7 @@ | ||
#!/bin/bash | ||
"${SRC_DIR}/build.sh" | ||
echo "bin-release Contents" | ||
echo "--------------------" | ||
ls bin-release | ||
echo "--------------------" | ||
cp bin-release/klayout "${PREFIX}/bin" |
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,81 @@ | ||
# Note: there are many handy hints in comments in this example -- remove them when you've finalized your recipe | ||
# If your package is python based, we recommend using Grayskull to generate it instead: | ||
# https://github.com/conda-incubator/grayskull | ||
|
||
# Jinja variables help maintain the recipe as you'll update the version only here. | ||
# Using the name variable with the URL in line 14 is convenient | ||
# when copying and pasting from another recipe, but not really needed. | ||
{% set name = "klayout" %} | ||
{% set version = "0.27.11" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/simplejson/simplejson/releases/download/{{ version }}/klayout-{{ version }}.tar.gz | ||
curtisma marked this conversation as resolved.
Show resolved
Hide resolved
|
||
sha256: cc14c4840504c6b623548c0af1600c933791b2c76d012bda3468a3610b3ae15a | ||
# sha256 is the preferred checksum -- you can get it for a file with: | ||
# `openssl sha256 <file name>`. | ||
# You may need the openssl package, available on conda-forge: | ||
# `conda install openssl -c conda-forge`` | ||
|
||
build: | ||
# Uncomment the following line if the package is pure Python and the recipe is exactly the same for all platforms. | ||
# It is okay if the dependencies are not built for all platforms/versions, although selectors are still not allowed. | ||
# See https://conda-forge.org/docs/maintainer/knowledge_base.html#noarch-python for more details. | ||
# noarch: python | ||
# If the installation is complex, or different between Unix and Windows, use separate bld.bat and build.sh files instead of this key. | ||
# By default, the package will be built for the Python versions supported by conda-forge and for all major OSs. | ||
# Add the line "skip: True # [py<35]" (for example) to limit to Python 3.5 and newer, or "skip: True # [not win]" to limit to Windows. | ||
# More info about selectors can be found in the conda-build docs: | ||
# https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#preprocessing-selectors | ||
number: 0 | ||
|
||
requirements: | ||
build: | ||
# If your project compiles code (such as a C extension) then add the required compilers as separate entries here. | ||
# Compilers are named 'c', 'cxx' and 'fortran'. | ||
- {{ compiler('cxx') }} | ||
|
||
host: | ||
# All Platforms | ||
- python>3 | ||
- pip | ||
- ruby>2 | ||
- Qt>=5 | ||
- make | ||
- zlib | ||
# Windows | ||
- expat # [win] | ||
- curl # [win] | ||
- pthreads-win32 # [win] | ||
|
||
test: | ||
# For python packages, it is useful to run pip check. However, sometimes the | ||
# metadata used by pip is out of date. Thus this section is optional if it is | ||
# failing. | ||
commands: | ||
- klayout -v | ||
|
||
about: | ||
home: https://www.klayout.de/ | ||
summary: 'Your Mask Layout Friend' | ||
description: | | ||
- View: Fast and accurate viewing of huge layout files | ||
- Edit: Draw, modify and transform hierarchical layout | ||
- Generate: Script layout generators, PCells and layout transformation tools | ||
- Analyze: Search, verify, and measure layout and code analysis scripts | ||
license: GPL-2.0-or-later | ||
license_family: GPL | ||
license_file: LICENSE | ||
doc_url: https://www.klayout.de/doc.html | ||
dev_url: https://github.com/KLayout/klayout | ||
|
||
extra: | ||
recipe-maintainers: | ||
# GitHub IDs for maintainers of the recipe. | ||
# Always check with the people listed below if they are OK becoming maintainers of the recipe. (There will be spam!) | ||
- curtisma | ||
- klayoutmatthias | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree to be co-maintainer. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! |
||
- proppy |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
find? (if you want to make sure to list everything recursively?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll update that if necessary for debug.