Skip to content

Commit

Permalink
- added support for CrystaX and Google NDK
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Nov 14, 2016
1 parent 431144e commit d79aac1
Show file tree
Hide file tree
Showing 44 changed files with 10,299 additions and 188 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
* 2016.11.14 - added ViennaCL trunk package (CPU / OpenCL) targeting Android and Linux
- added clBLAS and clBLAST targetting Android (though problems with native NDK)
- added support for CrystaX and Google NDK

* 2016.11.11 - added OpenCV package for Android
- added OpenBLAS package for Android
Expand Down
1 change: 1 addition & 0 deletions package/.cm/alias-a-lib-clblas-trunk-android
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9f45f78aa8e2dbb3
1 change: 0 additions & 1 deletion package/.cm/alias-a-lib-clblas-with-internal-boost-trunk

This file was deleted.

1 change: 1 addition & 0 deletions package/.cm/alias-a-lib-clblast-trunk-android
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
74e239b5cb03d3bf
1 change: 1 addition & 0 deletions package/.cm/alias-a-lib-viennacl-opencl-trunk-android
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9494ad8af5bddd0c
1 change: 1 addition & 0 deletions package/.cm/alias-a-lib-viennacl-trunk-android
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9c84a8bad0f6efff
1 change: 0 additions & 1 deletion package/.cm/alias-u-51e458694597d117

This file was deleted.

1 change: 1 addition & 0 deletions package/.cm/alias-u-74e239b5cb03d3bf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib-clblast-trunk-android
1 change: 1 addition & 0 deletions package/.cm/alias-u-9494ad8af5bddd0c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib-viennacl-opencl-trunk-android
1 change: 1 addition & 0 deletions package/.cm/alias-u-9c84a8bad0f6efff
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib-viennacl-trunk-android
1 change: 1 addition & 0 deletions package/.cm/alias-u-9f45f78aa8e2dbb3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib-clblas-trunk-android
11 changes: 8 additions & 3 deletions package/lib-boost-1.62.0-min-android/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ cd ${INSTALL_DIR}

rm -f ${PACKAGE_FILE1}

rm -rf install

rm -rf obj
mkdir obj
cd obj
Expand All @@ -67,7 +65,12 @@ cp -rf ${PACKAGE_DIR}/misc/* ${INSTALL_DIR}
echo ""
echo "Executing cmake ..."

cmake -DCMAKE_TOOLCHAIN_FILE="${PACKAGE_DIR}/misc/android.toolchain.cmake" \
CK_TOOLCHAIN=android.toolchain.cmake
if [ "${CK_ENV_LIB_CRYSTAX_LIB}" != "" ] ; then
CK_TOOLCHAIN=toolchain.cmake
fi

cmake -DCMAKE_TOOLCHAIN_FILE="${PACKAGE_DIR}/misc/${CK_TOOLCHAIN}" \
-DANDROID_NDK="${CK_ANDROID_NDK_ROOT_DIR}" \
-DCMAKE_BUILD_TYPE=Release \
-DANDROID_ABI="${CK_ANDROID_ABI}" \
Expand All @@ -94,6 +97,8 @@ fi
echo ""
echo "Installing package ..."

rm -rf install

make install/strip
if [ "${?}" != "0" ] ; then
echo "Error: installation failed!"
Expand Down
Loading

0 comments on commit d79aac1

Please sign in to comment.