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:
Pieter Wuille committed 2014-06-20 23:26:31 +02:00
commit 176b5041f3
5 files changed
+32 -5

No files matched your search

-1
View File
@@ -11,7 +11,6 @@ configure
.libs/
Makefile.in
aclocal.m4
autogen.sh
autom4te.cache/
config.log
config.status
+28
View File
@@ -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
+1 -1
View File
@@ -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
+1 -3
View File
@@ -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
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
autoreconf -if