doc: update patching instructions

This commit is contained in:
Sebastien Bourdeauducq 2014-10-11 13:00:06 +08:00
parent 9925568473
commit 8feb141483
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ Core language reference
:members: :members:
:mod:`artiq.language.units` module :mod:`artiq.language.units` module
--------------------------------- ----------------------------------
.. automodule:: artiq.language.units .. automodule:: artiq.language.units
:members: :members:

View File

@ -72,13 +72,13 @@ The main dependency of ARTIQ is LLVM and its Python bindings (http://llvmpy.org)
$ git clone https://github.com/openrisc/llvm-or1k $ git clone https://github.com/openrisc/llvm-or1k
$ cd llvm-or1k $ cd llvm-or1k
$ git checkout b3a48efb2c05ed6cedc5395ae726c6a6573ef3ba $ git checkout b3a48efb2c05ed6cedc5395ae726c6a6573ef3ba
$ patch -p1 < /path_to/ARTIQ/patches/llvm/* $ cat /path_to/artiq/patches/llvm/* | patch -p1
$ cd tools $ cd tools
$ git clone https://github.com/openrisc/clang-or1k clang $ git clone https://github.com/openrisc/clang-or1k clang
$ cd clang $ cd clang
$ git checkout 02d831c7e7dc1517abed9cc96abdfb937af954eb $ git checkout 02d831c7e7dc1517abed9cc96abdfb937af954eb
$ patch -p1 < /path_to/ARTIQ/patches/clang/* $ cat /path_to/artiq/patches/clang/* | patch -p1
$ cd ../.. $ cd ../..
$ mkdir build && cd build $ mkdir build && cd build
@ -90,7 +90,7 @@ The main dependency of ARTIQ is LLVM and its Python bindings (http://llvmpy.org)
$ git clone https://github.com/llvmpy/llvmpy $ git clone https://github.com/llvmpy/llvmpy
$ cd llvmpy $ cd llvmpy
$ git checkout 7af2f7140391d4f708adf2721e84f23c1b89e97a $ git checkout 7af2f7140391d4f708adf2721e84f23c1b89e97a
$ patch -p1 < /path_to/ARTIQ/patches/llvmpy/* $ cat /path_to/artiq/patches/llvmpy/* | patch -p1
$ LLVM_CONFIG_PATH=/usr/local/llvm-or1k/bin/llvm-config sudo -E python setup.py install $ LLVM_CONFIG_PATH=/usr/local/llvm-or1k/bin/llvm-config sudo -E python setup.py install
.. note:: .. note::