-
Notifications
You must be signed in to change notification settings - Fork 56
recipes_emscripten: add ngspice #453
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
base: main
Are you sure you want to change the base?
Conversation
hey @stuarteberg greetings =) |
@DerThorsten Small world. :-) |
@proppy I'm happy to remain on the maintainers list, though I may not be of much assistance. |
curious if https://github.com/conda-forge/pyspice-feedstock/ would need to be repackaged as well, or if it can simply be taken from conda-forge (since it seems that it is pure python and calling out to |
All noarch pks can be used from conda-forge |
It doesn't look like pyspice is currently tagged as Does maybe @stuarteberg knows more? |
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.
You probably need to do smth like
# CLI
... -DCMAKE_PROJECT_INCLUDE=overwriteProp.cmake
# overwriteProp.cmake
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE)
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-s SIDE_MODULE=1")
set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-s SIDE_MODULE=1")
set(CMAKE_STRIP FALSE) # used by default in pybind11 on .so modules
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.
otherwise cmake refused to build shared libraries with emscripten
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.
otherwise cmake refused to build shared libraries with emscripten
ported from https://github.com/conda-forge/ngspice-feedstock and https://github.com/hdl/conda-eda/tree/master/sim/ngspice
/cc @stuarteberg (let me know if you don't want to be added there)