Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
shy_201992
openpose
提交
2b98fbe8
O
openpose
项目概览
shy_201992
/
openpose
与 Fork 源项目一致
从无法访问的项目Fork
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openpose
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
2b98fbe8
编写于
1月 15, 2021
作者:
M
Matthijs van der Burgh
提交者:
GitHub
1月 15, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
OSX working again on GitHub actions - Fix CI (#1840)
上级
4f1a36ff
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
22 addition
and
11 deletion
+22
-11
scripts/osx/install_brew.sh
scripts/osx/install_brew.sh
+2
-1
scripts/osx/install_deps.sh
scripts/osx/install_deps.sh
+15
-8
scripts/travis/install_deps_osx.sh
scripts/travis/install_deps_osx.sh
+5
-2
未找到文件。
scripts/osx/install_brew.sh
浏览文件 @
2b98fbe8
xcode-select
--install
# In case the command line have already been installed, "true" will make it return a non-zero error code to avoid stopping the scripts
xcode-select
--install
||
true
bash
-c
"
$(
curl
-fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install.sh
)
"
brew update
scripts/osx/install_deps.sh
浏览文件 @
2b98fbe8
brew
install
openblas
brew
install
-vd
snappy leveldb gflags glog szip lmdb
brew
install
hdf5 opencv
#!/bin/bash
brew_packages
=
"openblas snappy leveldb gflags glog szip lmdb hdf5 opencv protobuf boost cmake viennacl"
for
pkg
in
$brew_packages
do
echo
"brew install
$pkg
|| brew upgrade
$pkg
"
brew
install
"
$pkg
"
||
brew upgrade
"
$pkg
"
done
# with Python pycaffe needs dependencies built from source
#brew install --build-from-source --with-python -vd protobuf
#brew install --build-from-source -vd boost boost-python
# without Python the usual installation suffices
brew
install
protobuf boost
brew
install
cmake
brew
install
viennacl
sudo
pip
install
numpy
sudo
pip
install
opencv-python
pip_packages
=
"numpy<1.17 opencv-python<4.3"
for
pkg
in
$pip_packages
do
echo
"sudo -H python2 -m pip install
$pkg
"
sudo
-H
python2
-m
pip
install
"
$pkg
"
done
scripts/travis/install_deps_osx.sh
浏览文件 @
2b98fbe8
...
...
@@ -6,5 +6,8 @@ echo "Running on Mac OS."
BASEDIR
=
$(
dirname
$0
)
source
$BASEDIR
/defaults.sh
bash scripts/osx/install_brew.sh
bash scripts/osx/install_deps.sh
# To fix linking issue in CI during install of python as dep of opencv
[[
-f
/usr/local/bin/2to3
]]
&&
rm
-f
/usr/local/bin/2to3
source
./scripts/osx/install_brew.sh
source
./scripts/osx/install_deps.sh
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录