aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2015-02-17 21:05:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-17 21:05:33 +0000
commit9dd3022e3f5c748d47568e625ca80aed7ab5ae68 (patch)
tree262865349c38a7bbbc5944f05c68f0cdc2591e3f
parent106d08a3768f8fec7f03c883ff3977f0c6718756 (diff)
parentd1c95d7524f85f438ecdc865ced199af95607283 (diff)
downloadeigen-9dd3022e3f5c748d47568e625ca80aed7ab5ae68.tar.gz
Merge "Add BLAS build rules to Eigen."
-rw-r--r--Android.mk3
-rw-r--r--blas/Android.mk50
2 files changed, 53 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 272cd956e..1eef5c3b3 100644
--- a/Android.mk
+++ b/Android.mk
@@ -11,3 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+
+LOCAL_PATH:=$(call my-dir)
+include $(LOCAL_PATH)/blas/Android.mk
diff --git a/blas/Android.mk b/blas/Android.mk
new file mode 100644
index 000000000..f2ee3fa08
--- /dev/null
+++ b/blas/Android.mk
@@ -0,0 +1,50 @@
+# Copyright (C) 2015 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH:=$(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_CLANG := true
+LOCAL_MODULE := libF77blas
+
+LOCAL_SRC_FILES:= \
+ single.cpp \
+ double.cpp \
+ complex_single.cpp \
+ complex_double.cpp \
+ xerbla.cpp \
+ f2c/complexdots.c\
+ f2c/srotm.c \
+ f2c/srotmg.c \
+ f2c/drotm.c \
+ f2c/drotmg.c \
+ f2c/lsame.c \
+ f2c/dspmv.c \
+ f2c/ssbmv.c \
+ f2c/chbmv.c \
+ f2c/sspmv.c \
+ f2c/zhbmv.c \
+ f2c/chpmv.c \
+ f2c/dsbmv.c \
+ f2c/zhpmv.c \
+ f2c/dtbmv.c \
+ f2c/stbmv.c \
+ f2c/ctbmv.c \
+ f2c/ztbmv.c \
+ f2c/d_cnjg.c \
+ f2c/r_cnjg.c
+
+LOCAL_C_INCLUDES += external/eigen/
+
+include $(BUILD_STATIC_LIBRARY)