Coder Social home page Coder Social logo

nervosnetwork / ckb-miscellaneous-scripts Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 22.0 541 KB

Interesting and useful CKB scripts which aren't necessarily in system scripts

License: MIT License

Makefile 2.85% C 45.73% CMake 1.14% Shell 0.09% Assembly 21.93% Rust 28.07% Python 0.19%

ckb-miscellaneous-scripts's Introduction

ckb-miscellaneous-scripts

Build Status

Interesting and useful CKB scripts which aren't necessarily in system scripts.

Building

The following commands can be used to build all scripts in this repository.

Note: Building these scripts requires Docker to be installed and available to the current user.

git clone --depth=2 --branch=master https://github.com/nervosnetwork/ckb-miscellaneous-scripts.git
cd ckb-miscellaneous-scripts
git submodule update --init --recursive
make all-via-docker

ckb-miscellaneous-scripts's People

Contributors

contrun avatar handsome0hell avatar jordanmack avatar mohanson avatar xujiandong avatar xxuejie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ckb-miscellaneous-scripts's Issues

Build error when using make all-via-docker

When I run

make install-tools
make all-via-docker

On macOS Catalina 10.15, I get the following error

docker run --rm -v `pwd`:/code nervos/ckb-riscv-gnu-toolchain@sha256:aae8a3f79705f67d505d1f1d5ddc694a4fd537ed1c7e9622420a470d59ba2ec3 bash -c "cd /code && make"
cd deps/secp256k1 && \
	./autogen.sh && \
	CC=riscv64-unknown-linux-gnu-gcc LD=riscv64-unknown-linux-gnu-gcc ./configure --with-bignum=no --enable-ecmult-static-precomputation --enable-endomorphism --enable-module-recovery --host=riscv64-unknown-linux-gnu && \
	make src/ecmult_static_pre_context.h src/ecmult_static_context.h
/bin/sh: 2: ./autogen.sh: not found
Makefile:103: recipe for target 'deps/secp256k1/src/ecmult_static_pre_context.h' failed
make: *** [deps/secp256k1/src/ecmult_static_pre_context.h] Error 127
make: *** [all-via-docker] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.