updated some instructions installation
This commit is contained in:
parent
bf1801500e
commit
f3a0246a69
10
README.md
10
README.md
@ -4,7 +4,14 @@ A Python 3 package to use SystemC from Python
|
||||
|
||||
## How to setup the environment
|
||||
|
||||
The installation for PySysC is as follows (using bash shell):
|
||||
The installation for PySysC is as follows (using bash shell). The process has
|
||||
been tested under CentOS7 and Ubuntu 20.04. Make sure a newer version of gcc
|
||||
is in your path (tested with gcc-6.3.0). Also the SystemC installation has to
|
||||
be reference with the environment variable SYSTEMC_HOME.
|
||||
|
||||
If you get an error complaining about
|
||||
missing Python.h, you need to install Python development headers. See the
|
||||
articel under https://blog.ducthinh.net/gcc-no-such-file-python-h.
|
||||
|
||||
```
|
||||
# create virtual environment
|
||||
@ -12,6 +19,7 @@ python3 -m venv pysysc-env
|
||||
# and enable it
|
||||
. pysysc-env/bin/activate
|
||||
# install needed packages
|
||||
pip install --upgrade pip
|
||||
python3 -m pip install wheel
|
||||
# install cppyy, C++ std version needs to match the version used to build the SystemC library
|
||||
STDCXX=11 python3 -m pip install cppyy
|
||||
|
Loading…
Reference in New Issue
Block a user