Merge branch 'devel' of gitlab.lip6.fr:vlsi-eda/coriolis into tramontana
This commit is contained in:
commit
d928a3c7a5
21
README.rst
21
README.rst
|
@ -40,23 +40,20 @@ Building Coriolis
|
||||||
|
|
||||||
To build Coriolis, ensure the following prerequisites are met:
|
To build Coriolis, ensure the following prerequisites are met:
|
||||||
|
|
||||||
* Python 3.
|
* Python 3,
|
||||||
* cmake.
|
* cmake,
|
||||||
* boost.
|
* boost,
|
||||||
* bison & flex.
|
* bison & flex,
|
||||||
* Qt 4 or 5.
|
* Qt 4 or 5,
|
||||||
* libxml2.
|
* libxml2,
|
||||||
* RapidJSON
|
* RapidJSON,
|
||||||
* A C++11 compliant compiler.
|
* A C++11 compliant compiler.
|
||||||
|
|
||||||
The build system relies on a fixed directory tree from the root
|
The build system relies on a fixed directory tree from the root
|
||||||
of the user currently building it. Thus first step is to get a clone of
|
of the user currently building it. Thus first step is to get a clone of
|
||||||
the repository in the right place. Proceed as follow: ::
|
the repository in the right place. Proceed as follow: ::
|
||||||
|
|
||||||
ego@home:~$ mkdir -p ~/coriolis-2.x/src/support
|
ego@home:~$ mkdir -p ~/coriolis-2.x/src/
|
||||||
ego@home:~$ cd ~/coriolis-2.x/src/support
|
|
||||||
ego@home:~$ git clone http://github.com/miloyip/rapidjson
|
|
||||||
ego@home:~$ git checkout ec322005072076ef53984462fb4a1075c27c7dfd
|
|
||||||
ego@home:~$ cd ~/coriolis-2.x/src
|
ego@home:~$ cd ~/coriolis-2.x/src
|
||||||
ego@home:src$ git clone https://gitlab.lip6.fr/vlsi-eda/coriolis.git
|
ego@home:src$ git clone https://gitlab.lip6.fr/vlsi-eda/coriolis.git
|
||||||
ego@home:src$ cd coriolis
|
ego@home:src$ cd coriolis
|
||||||
|
@ -85,7 +82,7 @@ The ``coriolis`` script detects its location and setups the UNIX
|
||||||
environment appropriately, then lauches ``cgt`` (or *any* command, with the
|
environment appropriately, then lauches ``cgt`` (or *any* command, with the
|
||||||
``--run=<COMMAND>`` option).
|
``--run=<COMMAND>`` option).
|
||||||
|
|
||||||
Conversely, you can setup the current shell environement for Coriolis by
|
Conversely, you can setup the current shell environment for Coriolis by
|
||||||
using the helper ``coriolisEnv.py``, then run any Coriolis tool: ::
|
using the helper ``coriolisEnv.py``, then run any Coriolis tool: ::
|
||||||
|
|
||||||
ego@home:~$ eval `~/coriolis-2.x/src/coriolis/bootstrap/coriolisEnv.py`
|
ego@home:~$ eval `~/coriolis-2.x/src/coriolis/bootstrap/coriolisEnv.py`
|
||||||
|
|
|
@ -170,7 +170,8 @@ def guessShell ( defaultShell, osType ):
|
||||||
shellPath = whichCommand.stdout.splitlines()[0].decode('utf8')
|
shellPath = whichCommand.stdout.splitlines()[0].decode('utf8')
|
||||||
else:
|
else:
|
||||||
shellPath = shell
|
shellPath = shell
|
||||||
print( 'echo "[GUESSED] shellPath={}";'.format(shellPath) )
|
if not options.queryISysRoot and not options.queryInstRoot:
|
||||||
|
print( 'echo "[GUESSED] shellPath={}";'.format(shellPath) )
|
||||||
except Exception:
|
except Exception:
|
||||||
shellPath = u'/bin/bash'
|
shellPath = u'/bin/bash'
|
||||||
print( 'echo "[ERROR] \\"ps\\" command failure, using {}";'.format(shellPath) )
|
print( 'echo "[ERROR] \\"ps\\" command failure, using {}";'.format(shellPath) )
|
||||||
|
@ -319,8 +320,9 @@ if __name__ == "__main__":
|
||||||
if os.path.isdir(absLibDir): break
|
if os.path.isdir(absLibDir): break
|
||||||
libDir = None
|
libDir = None
|
||||||
if libDir is None:
|
if libDir is None:
|
||||||
print( 'echo "[ERROR] coriolisEnv.py, library directory not found."' )
|
if not options.queryISysRoot and not options.queryInstRoot:
|
||||||
sys.exit( 1 )
|
print( 'echo "[ERROR] coriolisEnv.py, library directory not found."' )
|
||||||
|
sys.exit( 1 )
|
||||||
|
|
||||||
strippedPath = "%s/bin:%s" % ( coriolisTop, strippedPath )
|
strippedPath = "%s/bin:%s" % ( coriolisTop, strippedPath )
|
||||||
strippedLibraryPath = "%s:%s" % ( absLibDir , strippedLibraryPath )
|
strippedLibraryPath = "%s:%s" % ( absLibDir , strippedLibraryPath )
|
||||||
|
|
Loading…
Reference in New Issue