Skip to content

Bump tensorflow in /model_tools/tools/tensorflow2caffe #374

Bump tensorflow in /model_tools/tools/tensorflow2caffe

Bump tensorflow in /model_tools/tools/tensorflow2caffe #374

name: macos-x86-avx2
on: [push, pull_request]
jobs:
linux:
name: macos-x86-avx2
runs-on: macos-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: compile x86-avx2 on macos
run: |
brew install gnu-getopt > /dev/null
echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> /Users/runner/.bash_profile
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> /Users/runner/.bash_profile
source /Users/runner/.bash_profile
brew install gcc@9 > /dev/null
BOLT_PATH=$(PWD)
cd /usr/local/bin
ln -s gcc-9 gcc
ln -s g++-9 g++
gcc -v
g++ -v
cd $BOLT_PATH
chmod +x install.sh
export SYSTEM_VERSION_COMPAT=1
./install.sh --target=macos-x86_64_avx2 -t 32