Hi,
the mailing list I was referring to is the ARTIQ list
(https://ssl.serverraum.org/lists/listinfo/artiq).
You need to use a modified Rust:
https://github.com/m-labs/rust
Full compilation instructions for the upcoming ARTIQ 3.0 are here:
https://m-labs.hk/artiq/manual-master/installing_from_source.html#preparing-the-build-environment-for-the-core-device
Alternatively you can use the already released ARTIQ 2.0 which does not
require Rust.
Sébastien
On Thursday, September 29, 2016 10:28 AM, Trung Nguyen wrote:
Hi Developers,
I'm trying to run the Artiq environment to compile the gateware file.
My OS is Linux. Distribution version is Ubuntu 14.04LTS
I have done step-by-step installation of the following manual but
excepts the openOCD because we don't have FPGA board yet:
https://m-labs.hk/artiq/manual-release-2/installing_from_source.html#install-from-source
The installation process is almost ok but I have some problems with
libraries and packages that I had to install when I installed Artiq.
I installed the following libraries and packages:
hdf5-1.8.17
pygit2==0.19.1
numpy-1.11.2rc1
h5py-2.6.0
libffi6 Version: 3.1~rc1+r3.0.13-12ubuntu0.1
Package: libhdf5-dev Version: 1.8.11-5ubuntu7
cargo 0.13.0-nightly (7964e94 2016-09-27)
rustc 1.11.0 (9b21dcd6a 2016-08-15)
I'm struggling with an error when I run this code:
python3.5 -m artiq.gateware.targets.pipistrello
And here is the error message:
make: Entering directory
`/home/trungnguyen/artiq-dev/misoc_nist_qc1_pipistrello/software/runtime'
CARGO_TARGET_DIR="./cargo" \
cargo rustc --verbose \
--manifest-path
/home/trungnguyen/artiq-dev/artiq/artiq/runtime/../runtime.rs/Cargo.toml
<http://runtime.rs/Cargo.toml> \
--target=or1k-linux -- \
-C target-feature=+mul,+div,+ffl1,+cmov,+addc -C opt-level=s \
-L../libcompiler-rt
error: failed to run `rustc` to learn about target-specific
information
Caused by:
process didn't exit successfully: `rustc - --crate-name _
--print=file-names --crate-type bin --crate-type rlib
--crate-type staticlib --target or1k-linux` (exit code: 101)
--- stderr
error: Error loading target specification: Could not find
specification for target "or1k-linux"
make: *** [libartiq_rust.a] Error 101
The target is incorrect. It was "or1k-unknown" but I read the note in
released manual as below:
We’re using an |or1k-linux| target because it is necessary to enable
shared library support in |ld|, not because Linux is involved.
from this link:
https://m-labs.hk/artiq/manual-release-2/installing_from_source.html#install-from-source
So I tried to change the target to "or1k-linux" but it does work.
Could you please have a look? Any comments are appreciated.
Thank you.
Best Regards,
Trung Vu Nguyen
_______________________________________________
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq