Skip to content
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 6 commits into from
Aug 14, 2022

Conversation

linh2931
Copy link
Member

Resolve #1.

Remove mandel references from CDT and update CDT urls. A test build with Leap on branch remove_mandel_references worked.

Change Description

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

arhag
arhag previously requested changes Aug 13, 2022
Copy link
Member

@arhag arhag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also references to EOSIO.CDT and eosio.cdt that should just be CDT or cdt, respectively, in various places in the docs folder.

The only exceptions are the references in the eosio.cdt-to-cdt.md upgrade guide and the ones in the developers.eos.io URLs (unfortunately we do not have an alternative to those ready yet).

CMakeLists.txt Outdated
set(DESC "Toolchain and supporting tools for the Mandel platform")
set(URL "https://github.com/eosnetworkfoundation/mandel.cdt")
set(EMAIL "support@block.one")
set(DESC "Toolchain and supporting tools for the Leap platform")
Copy link
Member

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?

README.md Outdated
@@ -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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, this paragraph could instead be:

CDT is a C/C++ toolchain targeting WebAssembly (WASM) and a set of tools to facilitate development of smart contracts written in C/C++ that are meant to be deployed to an [Antelope](https://github.com/AntelopeIO/) blockchain.

In addition to being a general purpose WebAssembly toolchain, specific features and optimizations are available to support building Antelope-based 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.

@larryk85

README.md Outdated Show resolved Hide resolved
docs/04_upgrading/eosio.cdt-to-leap.cdt.md Outdated Show resolved Hide resolved
docs/05_features/10_return_values_from_actions.md Outdated Show resolved Hide resolved
docs/index.md Outdated Show resolved Hide resolved
docs/index.md Outdated Show resolved Hide resolved
docs/index.md Outdated Show resolved Hide resolved
modules/TestsExternalProject.txt Outdated Show resolved Hide resolved
modules/TestsExternalProject.txt Outdated Show resolved Hide resolved
Fixed some bugs in package builder script:
   * Broken symlink for CDTWasmToolchain.cmake.
   * Allow package builder script to run with out-of-source builds.

Updated description used for generated package.

Use leap package for integration tests dependency instead of eosio.

Significant changes to README.
Further rename of EOSIO.CDT to CDT.
Further rename of eosio-cpp to cdt-cpp and eosio-cc to cdt-cc.
Delete references to removed eosio-abigen tool.

Replace references to old eos and eosio.cdt repos with leap and cdt respectively.

Have not changed references eosio.contracts repo yet.
Have not changed/removed URLs to developers.eos.io website.

Other small cleanup and fixes to docs.
@arhag arhag dismissed their stale review August 13, 2022 07:17

LGTM. Someone else will need to review my commits.

… and version_tests.sh; use support@eosnetwork.com for support email
@linh2931
Copy link
Member Author

I built CDT integration tests using Leap AntelopeIO/leap#2. All unit tests and integration tests passed. I also tested package build and install, and make install. All worked.

The documents also look good.

@linh2931 linh2931 merged commit 883a116 into antelope-3.0 Aug 14, 2022
@linh2931 linh2931 deleted the remove_mandel_references branch August 14, 2022 15:40
@arhag arhag linked an issue Aug 15, 2022 that may be closed by this pull request
@arhag arhag mentioned this pull request Aug 17, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove all references to Mandel
2 participants