mirror of
https://github.com/zhigang1992/PerspectiveTransform.git
synced 2026-05-07 18:37:12 +08:00
16 lines
428 B
Bash
Executable File
16 lines
428 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# install-opencv.sh
|
|
|
|
libraries="openblas tbb gcc"
|
|
|
|
for package in $libraries opencv
|
|
do
|
|
brew link $package || brew install --ignore-dependencies --force-bottle $package
|
|
done
|
|
|
|
# due to Warning: Refusing to link macOS-provided software: openblas
|
|
# link /usr/local/opt/openblas is not getting restored
|
|
cellar=$(brew --prefix)/Cellar/openblas
|
|
ln -s $cellar/`ls $cellar` $(brew --prefix)/opt/openblas || true
|