Accelerating functions in CIRI toolkit.
For any questions, please contact [email protected]
- Version 1.0: First released version
The code is released under the MIT
License. See the LICENSE file for more detail
Compiled binary can be downloaded from Github Release
Download the binary according to your platform. For example:
wget -O ccs https://github.com/Kevinzjy/circtools/releases/download/v1.0.0/ccs_v1.0.0_el7.x86_64
chmod +x ccs
./ccs --help
- rust 1.50.0+
- cmake 3.12+
- zlib 1.2.8+
- Install Rust
curl https://sh.rustup.rs -sSf | sh
- Install circtools
git clone --recursive https://github.com/Kevinzjy/circtools.git
cargo build --release
- Copy compiled binary to somewhere you want, and add it to
$PATH
cp ./target/release/ccs your/path
export PATH=your/path:$PATH
(1) Building CMake Error: Could NOT find ZLIB
Install zlib 1.2.8+, and add the path of your zlib library in build.rs
.
let dst = Config::new("vendor/spoa")
.define("CMAKE_BUILD_TYPE","Release")
.define("ZLIB_LIBRARY", "/your/path/to/zlib/lib")
.define("ZLIB_INCLUDE_DIR", "/your/path/to/zlib/include")
.build();
Then, run cargo build --release
to build ccs
with your custom zlib version.
(2) /lib64/libc.so.6: version `GLIBC_2.18' not found not found
For example, when running on machines with GLIBC<2.18
:
./ccs_v1.0.0_x86_64-unknown-linux-gnu_generic: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ./ccs_v1.0.0_x86_64-unknown-linux-gnu_generic)
./ccs_v1.0.0_x86_64-unknown-linux-gnu_generic: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./ccs_v1.0.0_x86_64-unknown-linux-gnu_generic)
./ccs_v1.0.0_x86_64-unknown-linux-gnu_generic: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./ccs_v1.0.0_x86_64-unknown-linux-gnu_generic)
The released ccs
binaries are compiled using Ubuntu 16.04, which use GLIBC_2.18
as the default glibc version. If you're running ccs on a linux machine with older GLIBC library, please compile the ccs
binary from source. Please refer to the instructions above.