Skip to content

Commit

Permalink
Remove C code completely. Refactor ordermatching logs. #773 #767 (#776)
Browse files Browse the repository at this point in the history
* Remove the last pieces of C code. Remove CMake from Readme. #773
Remove files related to CMake too.

* Remove the unnecessary windows build scripts and CI configs.

* Remove the marketmaker_build_depends.cmd.

* Remove CMakeLists.txt.
  • Loading branch information
artemii235 authored Dec 29, 2020
1 parent 233b5a4 commit 7b510fb
Show file tree
Hide file tree
Showing 20 changed files with 84 additions and 1,481 deletions.
70 changes: 0 additions & 70 deletions .travis.yml

This file was deleted.

17 changes: 0 additions & 17 deletions CMakeLists.txt

This file was deleted.

10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@ This repository contains the `work in progress` code of brand new Marketmaker ve
The current state can be considered as very early alpha.
**Use with test coins only. You risk to lose your money in case of trying to trade assets with real market cost.**

## Rewrite goals

[MM2 README](mm2src/README.md)

## Project structure

[mm2src](mm2src) - Rust code, contains some parts ported from C `as is` (e.g. `lp_ordermatch`) to reach the most essential/error prone code. Some other modules/crates are reimplemented from scratch.
[iguana](iguana) - Old C code that is still used and linked to Rust binary. According to gradual port goals this code will be either ported/removed in favor of Rust.
[mm2src](mm2src) - Rust code, contains some parts ported from C `as is` (e.g. `lp_ordermatch`) to reach the most essential/error prone code. Some other modules/crates are reimplemented from scratch.

## How to build

1. Tools required: [Cmake](https://cmake.org/install/), [Rustup](https://rustup.rs/). You will also need your OS specific build tools (e.g. build-essentials on Linux, XCode on OSX or MSVC on Win).
1. Tools required: [Rustup](https://rustup.rs/). You will also need your OS specific build tools (e.g. build-essentials on Linux, XCode on OSX or MSVC on Win).
1. (Optional) OSX: install openssl, e.g. `brew install openssl`.
1. (Optional) OSX: run `LIBRARY_PATH=/usr/local/opt/openssl/lib`
1. Run
Expand All @@ -24,7 +19,6 @@ The current state can be considered as very early alpha.
rustup default nightly-2020-10-25
rustup component add rustfmt-preview
```
1. (Optional) Win: run `marketmaker_build_depends.cmd` to build dependencies.
1. Run `cargo build --features native` (or `cargo build --features native -vv` to get verbose build output).
## Help and troubleshooting
Expand Down
50 changes: 0 additions & 50 deletions appveyor.yml

This file was deleted.

4 changes: 0 additions & 4 deletions azure-pipelines-build-stage-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
export TAG="$(git rev-parse --short=9 HEAD)"
echo "##vso[task.setvariable variable=COMMIT_HASH]${TAG}"
displayName: Setup ENV
- powershell: |
.\marketmaker_build_depends.cmd
displayName: Build Windows deps
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- bash: |
rm -rf upload
mkdir upload
Expand Down
4 changes: 0 additions & 4 deletions azure-pipelines-release-stage-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ jobs:
echo "##vso[task.setvariable variable=RELEASE_UPLOADED]${RELEASE_UPLOADED}"
echo "##vso[task.setvariable variable=RELEASE_TAG]${RELEASE_TAG}"
displayName: Setup ENV
- powershell: |
.\marketmaker_build_depends.cmd
displayName: Build Windows deps
condition: and( eq( variables['Agent.OS'], 'Windows_NT' ), eq( variables['COMMIT_TAG'], '' ) )
- bash: |
rm -rf upload
mkdir upload
Expand Down
15 changes: 0 additions & 15 deletions cmake/DownloadProject.CMakeLists.cmake.in

This file was deleted.

182 changes: 0 additions & 182 deletions cmake/DownloadProject.cmake

This file was deleted.

Loading

0 comments on commit 7b510fb

Please sign in to comment.