Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.41 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.41 KB

Build Status License

secp256k1 Native Libraries

This repository creates standard builds of the secp256k1 native library. It packages the built libraries into operating system-specific JARs (with POMs). This allows secp256k1-java (or other interested Java projects) to depend on these JARs using the normal Maven dependency resolution process.

The following dependencies are required (plus Java and Maven):

  • autotools-dev
  • autoconf
  • build-essentials
  • gcc (Linux) or clang (OS X) for building the shared library

Installation

This project is mainly intended to be built by Travis CI, as a Linux operating system is required to build the Linux library, and an OS X operating system is needed to build the OS X library. Nevertheless it is possible to execute the Linux or OS X component of the build locally.

Once the platform dependencies are met:

git clone --recursive https://github.com/rchain/secp256k1-native.git
cd secp256k1-native
mvn clean install

An appropriate Maven profile will automatically be used for Linux or OS X.

License

secp256k1 (and this repository for simplicity) is licensed under the Apache 2.0 license.