mirror of https://github.com/openXC7/prjxray.git
Merge pull request #1071 from JakeMercer/readme_fixes
README/Dependencies - Updated "Quickstart Guide"
This commit is contained in:
commit
00c0662016
16
README.md
16
README.md
|
|
@ -46,26 +46,28 @@ Build the C++ tools:
|
||||||
make build
|
make build
|
||||||
|
|
||||||
### Step 5: ###
|
### Step 5: ###
|
||||||
|
Choose one of the following options:
|
||||||
|
|
||||||
(Option 1) - Install the Python environment locally
|
(Option 1) - Install the Python environment locally
|
||||||
|
|
||||||
sudo apt-get install virtualenv python3-virtualenv python3-yaml
|
sudo apt-get install virtualenv python3 python3-pip python3-virtualenv python3-yaml
|
||||||
make env
|
make env
|
||||||
|
|
||||||
(Option 2) - Install the Python environment globally
|
(Option 2) - Install the Python environment globally
|
||||||
|
|
||||||
sudo apt-get install python3-yaml
|
sudo apt-get install python3 python3-pip python3-yaml
|
||||||
sudo pip3 install -r requirements.txt
|
sudo -H pip3 install -r requirements.txt
|
||||||
|
|
||||||
This step is known to fail with a compiler error while building the `pyjson5`
|
This step is known to fail with a compiler error while building the `pyjson5`
|
||||||
library when using Arch Linux and Fedora. `pyjson5` needs one change to build
|
library when using Arch Linux and Fedora. If this occurs, `pyjson5` needs one
|
||||||
correctly:
|
change to build correctly:
|
||||||
|
|
||||||
git clone https://github.com/Kijewski/pyjson5.git
|
git clone https://github.com/Kijewski/pyjson5.git
|
||||||
cd pyjson5
|
cd pyjson5
|
||||||
sed -i 's/char \*PyUnicode/const char \*PyUnicode/' src/_imports.pyx
|
sed -i 's/char \*PyUnicode/const char \*PyUnicode/' src/_imports.pyx
|
||||||
sudo make
|
sudo make
|
||||||
|
|
||||||
This might give you and error about `sphinx_autodoc_typehints` but it should
|
This might give you an error about `sphinx_autodoc_typehints` but it should
|
||||||
correctly build and install pyjson5. After this, run either option 1 or 2 again.
|
correctly build and install pyjson5. After this, run either option 1 or 2 again.
|
||||||
|
|
||||||
### Step 6: ###
|
### Step 6: ###
|
||||||
|
|
@ -88,7 +90,7 @@ Python API with a pre-generated database)
|
||||||
### Step 8: ###
|
### Step 8: ###
|
||||||
Pick a fuzzer (or write your own) and run:
|
Pick a fuzzer (or write your own) and run:
|
||||||
|
|
||||||
cd fuzzers/010-lutinit
|
cd fuzzers/010-clb-lutinit
|
||||||
make -j$(nproc) run
|
make -j$(nproc) run
|
||||||
|
|
||||||
### Step 9: ###
|
### Step 9: ###
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
fasm
|
-e third_party/fasm
|
||||||
futures
|
|
||||||
intervaltree
|
intervaltree
|
||||||
junit-xml
|
junit-xml
|
||||||
numpy
|
numpy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue