-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove mandel references from CDT and update CDT urls #2
Merged
Merged
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
212ad6a
Remove mandel references from CDT and update CDT urls
linh2931 031f551
Update support email
linh2931 07a815e
Use leap instead of eosio in find_package
arhag 3be7cfe
Fix some build issues and update README.
arhag feafcca
Cleanup old references in docs.
arhag 6296804
Change eosio-cpp to cdt-cpp in all README files in examples directory…
linh2931 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# CDT (Contract Development Toolkit) | ||
## Version : 3.0.0 | ||
|
||
CDT is a toolchain for WebAssembly (WASM) and a set of tools to facilitate smart contract development for the Mandel platform. In addition to being a general purpose WebAssembly toolchain, [Mandel](https://github.com/eosnetworkfoundation/mandel) specific optimizations are available to support building smart contracts. This new toolchain is built around [Clang 9](https://github.com/eosnetworkfoundation/cdt-llvm), which means that CDT has the most currently available optimizations and analyses from LLVM, but as the WASM target is still considered experimental, some optimizations are incomplete or not available. | ||
CDT is a toolchain for WebAssembly (WASM) and a set of tools to facilitate smart contract development for the Leap platform, a C++ implementation of the Antelope protocol. In addition to being a general purpose WebAssembly toolchain, [Leap](https://github.com/AntelopeIO/leap) specific optimizations are available to support building smart contracts. This new toolchain is built around [Clang 9](https://github.com/AntelopeIO/cdt-llvm), which means that CDT has the most currently available optimizations and analyses from LLVM, but as the WASM target is still considered experimental, some optimizations are incomplete or not available. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similarly, this paragraph could instead be:
|
||
|
||
## Binary Releases | ||
CDT currently supports Linux x86_64 Debian packages. | ||
### Debian Package Install | ||
```sh | ||
wget https://github.com/eosnetworkfoundation/mandel.cdt/releases/download/v3.0.0-rc1/cdt_3.0.0-rc1_amd64.deb | ||
wget https://github.com/AntelopeIO/cdt/releases/download/v3.0.0-rc1/cdt_3.0.0-rc1_amd64.deb | ||
sudo apt install ./cdt_3.0.0-rc1_amd64.deb | ||
``` | ||
### Debian Package Uninstall | ||
|
@@ -41,20 +41,21 @@ export CCACHE_DISABLE=1 | |
|
||
### Building Integration Tests | ||
|
||
Integration tests require access to a mandel build. Instructions below provide additional steps for using a mandel built from source. For development purposes it is generally advised to use mandel built from source. | ||
Integration tests require access to a Leap build. Instructions below provide additional steps for using a Leap built from source. For development purposes it is generally advised to use Leap built from source. | ||
arhag marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#### For building integration tests with mandel built from source | ||
#### For building integration tests with Leap built from source | ||
|
||
Set an environment variable to tell CDT where to find the Mandel build directory: | ||
Set an environment variable to tell CDT where to find the Leap build directory: | ||
|
||
```sh | ||
export eosio_DIR=/path/to/mandel/build/lib/cmake/eosio | ||
export eosio_DIR=/path/to/leap/build/lib/cmake/eosio | ||
export leap_DIR=/path/to/leap/build/lib/cmake/leap | ||
``` | ||
|
||
### Guided Installation or Building from Scratch | ||
```sh | ||
git clone --recursive https://github.com/eosnetworkfoundation/mandel.cdt | ||
cd mandel.cdt | ||
git clone --recursive https://github.com/AntelopeIO/cdt | ||
cd cdt | ||
mkdir build | ||
cd build | ||
cmake .. | ||
|
@@ -109,4 +110,4 @@ sudo rm /usr/local/bin/cdt-* | |
|
||
## License | ||
|
||
[MIT](./LICENSE) | ||
[MIT](./LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should use the following description:
Toolchain and supporting tools to facilitate C/C++ development of contracts for Antelope blockchains
What do you think @larryk85?