Skip to content

Commit

Permalink
Updated build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sadko4u committed Sep 18, 2018
1 parent cbe45ea commit e09b992
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 5 deletions.
3 changes: 2 additions & 1 deletion TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
* Optimized complex multiplication functions.
* Implemented additional complex number routines.
* Implemented additional functions to DSP core.
* Fixed compilation warnings emitted by the GCC 8 compiler.
* Fixed compilation warnings and errors emitted by the GCC 8 compiler.
* Updated development documentation.

*******************************************************************************
* Release steps
Expand Down
11 changes: 11 additions & 0 deletions build-armv7a.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

export THREADS=2
export BUILD_PROFILE=armv7a
export CC_FLAGS=-DLSP_NO_EXPERIMENTAL

echo "******************************************************"
echo " Building profile=$BUILD_PROFILE"
echo "******************************************************"

make clean && make -j$THREADS all
13 changes: 11 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ echo "******************************************************"
echo "Building RELEASE"
echo "******************************************************"

ARCH=`uname -m`

make unrelease
do_release 'i586'
do_release 'x86_64'
if [[ "$ARCH" =~ ^x86_64 ]]; then
do_release 'i586'
do_release 'x86_64'
elif [[ "$ARCH" =~ ^i[3-6]86 ]]; then
do_release 'i586'
elif [[ "$ARCH" =~ ^armv7.* ]]; then
do_release 'armv7a'
fi

12 changes: 10 additions & 2 deletions test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ echo "******************************************************"
echo "Building RELEASE"
echo "******************************************************"

ARCH=`uname -m`

make unrelease
do_release 'i586'
do_release 'x86_64'
if [[ "$ARCH" =~ ^x86_64 ]]; then
do_release 'i586'
do_release 'x86_64'
elif [[ "$ARCH" =~ ^i[3-6]86 ]]; then
do_release 'i586'
elif [[ "$ARCH" =~ ^armv7.* ]]; then
do_release 'armv7a'
fi

0 comments on commit e09b992

Please sign in to comment.