Merge pull request #32
b0cc21f
build: add travis support (Cory Fields)d409087
build: add autogen. How was this missing? (Cory Fields)
This commit is contained in:
commit
176b5041f3
|
@ -11,7 +11,6 @@ configure
|
|||
.libs/
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
autogen.sh
|
||||
autom4te.cache/
|
||||
config.log
|
||||
config.status
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
language: cpp
|
||||
compiler: gcc
|
||||
install:
|
||||
- sudo apt-get install yasm libgmp-dev
|
||||
env:
|
||||
global:
|
||||
- FIELD=auto BIGNUM=auto ENDOMORPHISM=no BUILD=check
|
||||
matrix:
|
||||
- FIELD=gmp BIGNUM=gmp
|
||||
- FIELD=gmp BIGNUM=openssl
|
||||
- FIELD=64bit_asm BIGNUM=gmp
|
||||
- FIELD=64bit_asm BIGNUM=openssl
|
||||
- FIELD=64bit BIGNUM=gmp
|
||||
- FIELD=64bit BIGNUM=openssl
|
||||
- FIELD=32bit BIGNUM=gmp
|
||||
- FIELD=32bit BIGNUM=openssl
|
||||
- FIELD=gmp BIGNUM=gmp ENDOMORPHISM=yes
|
||||
- FIELD=gmp BIGNUM=openssl ENDOMORPHISM=yes
|
||||
- FIELD=64bit_asm BIGNUM=gmp ENDOMORPHISM=yes
|
||||
- FIELD=64bit_asm BIGNUM=openssl ENDOMORPHISM=yes
|
||||
- FIELD=64bit BIGNUM=gmp ENDOMORPHISM=yes
|
||||
- FIELD=64bit BIGNUM=openssl ENDOMORPHISM=yes
|
||||
- FIELD=32bit BIGNUM=gmp ENDOMORPHISM=yes
|
||||
- FIELD=32bit BIGNUM=openssl ENDOMORPHISM=yes
|
||||
- BUILD=distcheck
|
||||
before_script: ./autogen.sh
|
||||
script: ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM && make -j2 $BUILD
|
||||
os: linux
|
|
@ -57,7 +57,7 @@ tests_LDFLAGS = -static
|
|||
TESTS = tests
|
||||
endif
|
||||
|
||||
EXTRA_DIST = nasm_lt.sh
|
||||
EXTRA_DIST = autogen.sh nasm_lt.sh
|
||||
|
||||
#x86_64 only
|
||||
if USE_ASM
|
||||
|
|
|
@ -41,9 +41,7 @@ Build steps
|
|||
|
||||
libsecp256k1 is built using autotools:
|
||||
|
||||
$ aclocal
|
||||
$ autoreconf --install
|
||||
$ automake
|
||||
$ ./autogen.sh # not necessary when building from release tarballs
|
||||
$ ./configure
|
||||
$ make
|
||||
$ sudo make install # optional
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
autoreconf -if
|
Loading…
Reference in New Issue