Fix breakage: Can't build TFLite with Bazel for Mac / iOS.
authorYu-Cheng Ling <ycling@google.com>
Sat, 3 Feb 2018 06:39:45 +0000 (22:39 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Sat, 3 Feb 2018 06:46:16 +0000 (22:46 -0800)
PiperOrigin-RevId: 184375534

tensorflow/contrib/lite/kernels/internal/optimized/cblas_conv.h

index a9b666312249afc1e47ca5a872a6264b45ce1b14..fcb9fac6713865f2d6f89755c785b179436cbc57 100644 (file)
@@ -19,12 +19,9 @@ limitations under the License.
 // The Conv implementation based on CBLAS interface. This is only used on iOS
 // for now, utilizing Apple's Accelerate framework.
 
-#if defined(__APPLE__)
-#include <Accelerate/Accelerate.h>
-#else
+// TODO(ycling): Update the BUILD file and integrate with Apple Accelerate
+// Famework when it's available.
 #include "tensorflow/contrib/lite/kernels/internal/optimized/cblas_reference.h"
-#endif  // __APPLE__
-
 #include "tensorflow/contrib/lite/kernels/internal/optimized/multithreaded_conv.h"
 #include "tensorflow/contrib/lite/kernels/internal/optimized/optimized_ops.h"