Skip to content

Fix/make scripts compatible with system python - #13

Open
sadegh-majidi wants to merge 2 commits into
CMU-SAFARI:mainfrom
sadegh-majidi:fix/make-scripts-compatible-with-system-python
Open

sadegh-majidi wants to merge 2 commits into
CMU-SAFARI:mainfrom
sadegh-majidi:fix/make-scripts-compatible-with-system-python

Conversation

@sadegh-majidi

Copy link
Copy Markdown

The python scripts in this project were primarily written in python2. As most systems use python3 by default nowadays, I changed the python scripts in this project to make them compatible with versions 2 and 3 of python. I also added the "lrztar" installation script to setup.h file for ease of use. As git does not preserve the file's timestamps, we face a problem with "aclocal" during the simulator compilation when we clone the code from the repository instead of using zip format. To overcome this problem, I changed the compilation scripts and did an "autoreconf" before compiling. There was a problem with including the "cstdint" library in the locality.h source file, which caused an error during compilation. This library contains standard integer types for c++ language. I also fixed this include-related error in this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants