Skip to content

Instantly share code, notes, and snippets.

@imylomylo
Created July 19, 2019 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imylomylo/79535d460273bb272762070491649a88 to your computer and use it in GitHub Desktop.
Save imylomylo/79535d460273bb272762070491649a88 to your computer and use it in GitHub Desktop.
komodo-installed-marketmaker-install
$ sudo apt-get install build-essential git llvm-3.9-dev libclang-3.9-dev clang-3.9 libssl-dev pkg-config
[sudo] password for mylo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
pkg-config is already the newest version (0.29.1-0ubuntu2).
git is already the newest version (1:2.17.1-1ubuntu0.4).
The following additional packages will be installed:
  libclang-common-3.9-dev libclang1-3.9 libllvm3.9 libssl1.1 llvm-3.9 llvm-3.9-runtime
Suggested packages:
  gnustep gnustep-devel clang-3.9-doc llvm-3.9-doc
The following NEW packages will be installed:
  clang-3.9 libclang-3.9-dev libclang-common-3.9-dev libclang1-3.9 libllvm3.9 llvm-3.9 llvm-3.9-dev llvm-3.9-runtime
The following packages will be upgraded:
  libssl-dev libssl1.1
2 upgraded, 8 newly installed, 0 to remove and 14 not upgraded.
Need to get 96.2 MB of archives.
After this operation, 591 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
@imylomylo
Copy link
Author

$ rustup install nightly-2019-06-26
info: syncing channel updates for 'nightly-2019-06-26-x86_64-unknown-linux-gnu'
info: latest update on 2019-06-26, rust version 1.37.0-nightly (5f9c0448d 2019-06-25)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
  4.6 MiB /   4.6 MiB (100 %)   1.8 MiB/s in  1s ETA:  0s
info: downloading component 'rust-docs'
info: installing component 'rustc'
 85.5 MiB /  85.5 MiB (100 %)  18.4 MiB/s in  4s ETA:  0s
info: installing component 'rust-std'
 61.7 MiB /  61.7 MiB (100 %)  19.9 MiB/s in  2s ETA:  0s
info: installing component 'cargo'
info: installing component 'rust-docs'
 11.2 MiB /  11.2 MiB (100 %)   7.8 MiB/s in  1s ETA:  0s

  nightly-2019-06-26-x86_64-unknown-linux-gnu installed - rustc 1.37.0-nightly (5f9c0448d 2019-06-25)

info: checking for self-updates

@imylomylo
Copy link
Author

$ rustup default nightly-2019-06-26
info: using existing install for 'nightly-2019-06-26-x86_64-unknown-linux-gnu'
info: default toolchain set to 'nightly-2019-06-26-x86_64-unknown-linux-gnu'

  nightly-2019-06-26-x86_64-unknown-linux-gnu unchanged - rustc 1.37.0-nightly (5f9c0448d 2019-06-25)

@imylomylo
Copy link
Author

imylomylo commented Jul 19, 2019

$ rustup component add rustfmt-preview
info: downloading component 'rustfmt'
info: installing component 'rustfmt'
$ time rustup component add rustfmt-preview
info: downloading component 'rustfmt'
  2.9 MiB /   2.9 MiB (100 %) 928.6 KiB/s in  1s ETA:  0s
info: installing component 'rustfmt'

real    0m2.110s
user    0m0.352s
sys     0m0.058s

@imylomylo
Copy link
Author

$ sudo apt-get install jq
[sudo] password for mylo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libjq1 libonig4
The following NEW packages will be installed:
  jq libjq1 libonig4
0 upgraded, 3 newly installed, 0 to remove and 24 not upgraded.
Need to get 276 kB of archives.
After this operation, 930 kB of additional disk space will be used.
Do you want to continue? [Y/n]

@imylomylo
Copy link
Author

$ cd ~ ; git clone https://github.com/KomodoPlatform/atomicDEX-API --branch mm2 --single-branch && cd atomicDEX-API
Cloning into 'atomicDEX-API'...
remote: Enumerating objects: 34, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 107436 (delta 14), reused 21 (delta 11), pack-reused 107402
Receiving objects: 100% (107436/107436), 194.19 MiB | 9.59 MiB/s, done.
Resolving deltas: 100% (84045/84045), done.

@imylomylo
Copy link
Author

$ cargo build --features native -vv
    Updating git repository `https://github.com/artemii235/backtrace-rs.git`
    Updating crates.io index
    ...
    ...
       Fetch [==========================================>            ]  78.49%                                                                                                                                                                        
    ...
  Downloaded quote v0.5.2
  Downloaded ct-logs v0.5.1
  Downloaded percent-encoding v1.0.1
  Downloaded crossbeam-channel v0.3.4
  Downloaded itoa v0.4.3
  Downloaded rand_core v0.5.0
   ...
   ...
    Running `/home/mylo/atomicDEX-API/target/debug/build/clang-sys-97da1d3f6e3103c4/build-script-build`
     Running `/home/mylo/atomicDEX-API/target/debug/build/crc-ec0b63e28d15a538/build-script-build`
   Compiling idna v0.1.5
     Running `CARGO_PKG_VERSION=0.1.5 CARGO_PKG_NAME=idna CARGO_MANIFEST_DIR=/home/mylo/.cargo/registry/src/github.com-1ecc6299db9ec823/idna-0.1.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_DESCRIPTION='IDNA (Internationalizing Domain Names in Applications) and Punycode.' CARGO_PKG_REPOSITORY='https://github.com/servo/rust-url/' CARGO_PKG_AUTHORS='The rust-url developers' LD_LIBRARY_PATH='/home/mylo/atomicDEX-API/target/debug/deps:/home/mylo/.rustup/toolchains/nightly-2019-06-26-x86_64-unknown-linux-gnu/lib:/home/mylo/.rustup/toolchains/nightly-2019-06-26-x86_64-unknown-linux-gnu/lib' CARGO=/home/mylo/.rustup/toolchains/nightly-2019-06-26-x86_64-unknown-linux-gnu/bin/cargo CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION_PRE= rustc --crate-name idna /home/mylo/.cargo/registry/src/github.com-1ecc6299db9ec823/idna-0.1.5/src/lib.rs --color always --crate-type lib --emit=dep-info,metadata,link -C opt-level=1 -C debuginfo=2 -C debug-assertions=on -C metadata=80693612a81e331b -C extra-filename=-80693612a81e331b --out-dir /home/mylo/atomicDEX-API/target/debug/deps -L dependency=/home/mylo/atomicDEX-API/target/debug/deps --extern matches=/home/mylo/atomicDEX-API/target/debug/deps/libmatches-a2b95998f064a078.rlib --extern unicode_bidi=/home/mylo/atomicDEX-API/target/debug/deps/libunicode_bidi-b5a3d6cc56e2d50d.rlib --extern unicode_normalization=/home/mylo/atomicDEX-API/target/debug/deps/libunicode_normalization-c3f89c14be45908b.rlib --cap-lints warn`
warning: `...` range patterns are deprecated
  --> /home/mylo/.cargo/registry/src/github.com-1ecc6299db9ec823/idna-0.1.5/src/punycode.rs:85:29
warning: `...` range patterns ar
   ...
   ...
    Building [====================================>                  ] 216/319: syn, string, clap, http
   ...
   ...
        Building [======================================>                ] 230/319: syn, regex, sha-1, groestl                                                                                                                                            
   ...
   ...

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