mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
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
5 changed files with 32 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -11,7 +11,6 @@ configure
|
||||||
.libs/
|
.libs/
|
||||||
Makefile.in
|
Makefile.in
|
||||||
aclocal.m4
|
aclocal.m4
|
||||||
autogen.sh
|
|
||||||
autom4te.cache/
|
autom4te.cache/
|
||||||
config.log
|
config.log
|
||||||
config.status
|
config.status
|
||||||
|
|
28
.travis.yml
Normal file
28
.travis.yml
Normal 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
|
|
@ -57,7 +57,7 @@ tests_LDFLAGS = -static
|
||||||
TESTS = tests
|
TESTS = tests
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = nasm_lt.sh
|
EXTRA_DIST = autogen.sh nasm_lt.sh
|
||||||
|
|
||||||
#x86_64 only
|
#x86_64 only
|
||||||
if USE_ASM
|
if USE_ASM
|
||||||
|
|
|
@ -41,9 +41,7 @@ Build steps
|
||||||
|
|
||||||
libsecp256k1 is built using autotools:
|
libsecp256k1 is built using autotools:
|
||||||
|
|
||||||
$ aclocal
|
$ ./autogen.sh # not necessary when building from release tarballs
|
||||||
$ autoreconf --install
|
|
||||||
$ automake
|
|
||||||
$ ./configure
|
$ ./configure
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install # optional
|
$ sudo make install # optional
|
||||||
|
|
2
autogen.sh
Executable file
2
autogen.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
autoreconf -if
|
Loading…
Add table
Reference in a new issue