Add build instructions in the REAME;
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
baf9195080
commit
18f32f8b56
20
README.rst
20
README.rst
@@ -36,6 +36,26 @@ Predictable performance
|
|||||||
the quirks of the target architecture. There are no advanced optimizations
|
the quirks of the target architecture. There are no advanced optimizations
|
||||||
that sometimes work, somtimes fail.
|
that sometimes work, somtimes fail.
|
||||||
|
|
||||||
|
Building Cretonne
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
Cretonne is using the Cargo package manager format. First, ensure you have
|
||||||
|
installed `rust 1.12.0` or above. Then, change the workind directory to your
|
||||||
|
clone of cretonne and run::
|
||||||
|
|
||||||
|
cargo build
|
||||||
|
|
||||||
|
This will create a *target/debug* directory where you can find the generated
|
||||||
|
binary.
|
||||||
|
|
||||||
|
To build the optimized binary for release::
|
||||||
|
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
|
You can then run tests with::
|
||||||
|
|
||||||
|
./test-all.sh
|
||||||
|
|
||||||
Building the documentation
|
Building the documentation
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user