Skip to content

Instantly share code, notes, and snippets.

@JekaMas
JekaMas / build_tf.sh
Created November 12, 2017 08:10 — forked from venik/build_tf.sh
Bash script for local building TensorFlow on Mac with all CPU optimizations (default pip package has only SSE)
#!/bin/bash
# Author: Sasha Nikiforov
# source of inspiration
# https://stackoverflow.com/questions/41293077/how-to-compile-tensorflow-with-sse4-2-and-avx-instructions
# check if VirtuelEnv activated
if [ -z "$VIRTUAL_ENV" ]; then
echo "VirtualEnv is not activated"