Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Geofferey/dropbear
1 result
Show changes
Commits on Source (2)
language: c language: c
   
os: git:
- linux depth: 3
- osx
env:
matrix:
- BUNDLEDLIBTOM=--disable-bundled-libtom WEXTRAFLAGS=-Werror
- BUNDLEDLIBTOM=--enable-bundled-libtom
- MULTI=1
- NOWRITEV=1
   
matrix: matrix:
exclude: include:
# TODO: remove this when libtomcrypt has been updated by ubuntu/homebrew. # subsequent matrix options use these first settings
# https://github.com/libtom/libtomcrypt/issues/82 - os: linux
- compiler: clang compiler: gcc
env: BUNDLEDLIBTOM=--disable-bundled-libtom WEXTRAFLAGS=-Werror env: WEXTRAFLAGS=-Werror
- env: MULTI=1 WEXTRAFLAGS=-Werror
compiler: # libtom has some warnings, so no WEXTRAFLAGS
- gcc - env: BUNDLEDLIBTOM=--enable-bundled-libtom WEXTRAFLAGS=""
- clang - env: NOWRITEV=1 WEXTRAFLAGS=-Werror
# libtomcrypt 1.18.1 fixes clang problems, distro doesn't have that yet
- os: linux
compiler: clang
env: BUNDLEDLIBTOM=--enable-bundled-libtom WEXTRAFLAGS=""
- os: osx
compiler: clang
env: WEXTRAFLAGS=""
   
# container-based builds # container-based builds
sudo: false sudo: false
Loading
@@ -36,9 +35,6 @@ addons:
Loading
@@ -36,9 +35,6 @@ addons:
before_install: before_install:
- if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround - if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround
   
install:
- if [ "$TRAVIS_OS_NAME" = "osx" -a "$BUNDLEDLIBTOM" = "--disable-bundled-libtom" ]; then brew update > /dev/null && brew install libtomcrypt libtommath ; fi
script: script:
- autoconf && autoheader && ./configure "$BUNDLEDLIBTOM" CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix="$HOME/inst" - autoconf && autoheader && ./configure "$BUNDLEDLIBTOM" CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix="$HOME/inst"
- if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi
Loading
Loading
Loading
@@ -22,6 +22,7 @@
Loading
@@ -22,6 +22,7 @@
# make -f makefile.unix CC=icc AR=xiar CFLAGS="-fast -DUSE_LTM -DLTM_DESC -I/path/to/libtommath" EXTRALIBS=/path/to/libtommath/libtommath.a all # make -f makefile.unix CC=icc AR=xiar CFLAGS="-fast -DUSE_LTM -DLTM_DESC -I/path/to/libtommath" EXTRALIBS=/path/to/libtommath/libtommath.a all
# #
   
# Dropbear can build out of tree
VPATH=@srcdir@ VPATH=@srcdir@
srcdir=@srcdir@ srcdir=@srcdir@
   
Loading
@@ -32,10 +33,11 @@ LIBPATH = $(PREFIX)/lib
Loading
@@ -32,10 +33,11 @@ LIBPATH = $(PREFIX)/lib
INCPATH = $(PREFIX)/include INCPATH = $(PREFIX)/include
DATAPATH = $(PREFIX)/share/doc/libtomcrypt/pdf DATAPATH = $(PREFIX)/share/doc/libtomcrypt/pdf
BINPATH = $(PREFIX)/bin BINPATH = $(PREFIX)/bin
CC = cc # Dropbear passes paths from parent makefile
AR = ar #CC = cc
#AR = ar
ARFLAGS = r ARFLAGS = r
RANLIB = ranlib #RANLIB = ranlib
#CFLAGS = -O2 -DUSE_LTM -DLTM_DESC -I../libtommath #CFLAGS = -O2 -DUSE_LTM -DLTM_DESC -I../libtommath
EXTRALIBS = ../libtommath/libtommath.a EXTRALIBS = ../libtommath/libtommath.a
   
Loading
Loading