安装自制瓶装二进制包
Install an homebrew bottled binary package
我需要加快我需要的 travis 包生成
brew 安装 fftw --with-openmp
这需要大约 20 分钟的时间来构建,而大多数时候 Travis 会扼杀我的工作。
我的想法是创建另一个存储库,在其中(偶尔)我生成 fftw --with-openmp
的二进制瓶装版本,然后从我的应用程序存储库中安装那个特定的瓶装版本。我卡在最后一部分了...
我创建了一个链接到 travis (https://github.com/iltommi/fftw-openmp) 的空仓库,其中只有一个 .travis.yml
:
os: osx
osx_image: xcode7.1
sudo: required
script:
- export COMPILER=g++-6
- brew update; brew tap homebrew/science
- brew install --build-bottle fftw --with-openmp
- brew bottle fftw
- export RELEASE_FILE=$(ls fftw*bottle*.tar.gz)
- ls -la
deploy:
provider: releases
edge:
branch: releases-fix
api_key: $github_token
file: "${RELEASE_FILE}"
skip_cleanup: true
overwrite: true
所以我在发布中得到了一个文件 (https://github.com/iltommi/fftw-openmp/releases)
现在,如何从我的其他存储库安装?
我可以通过 wget 得到它,但是呢?
谢谢
这里好像已经回答了https://apple.stackexchange.com/a/204833/99311:
我会留下这个,以防其他人在 Whosebug 上需要这个:
brew install -f fftw-3.3.5.yosemite.bottle.1.tar.gz
其中 fftw-3.3.5.yosemite.bottle.1.tar.gz
是由命令生成的文件
brew install --build-bottle fftw --with-openmp
brew bottle fftw
我需要加快我需要的 travis 包生成 brew 安装 fftw --with-openmp
这需要大约 20 分钟的时间来构建,而大多数时候 Travis 会扼杀我的工作。
我的想法是创建另一个存储库,在其中(偶尔)我生成 fftw --with-openmp
的二进制瓶装版本,然后从我的应用程序存储库中安装那个特定的瓶装版本。我卡在最后一部分了...
我创建了一个链接到 travis (https://github.com/iltommi/fftw-openmp) 的空仓库,其中只有一个 .travis.yml
:
os: osx
osx_image: xcode7.1
sudo: required
script:
- export COMPILER=g++-6
- brew update; brew tap homebrew/science
- brew install --build-bottle fftw --with-openmp
- brew bottle fftw
- export RELEASE_FILE=$(ls fftw*bottle*.tar.gz)
- ls -la
deploy:
provider: releases
edge:
branch: releases-fix
api_key: $github_token
file: "${RELEASE_FILE}"
skip_cleanup: true
overwrite: true
所以我在发布中得到了一个文件 (https://github.com/iltommi/fftw-openmp/releases)
现在,如何从我的其他存储库安装? 我可以通过 wget 得到它,但是呢?
谢谢
这里好像已经回答了https://apple.stackexchange.com/a/204833/99311:
我会留下这个,以防其他人在 Whosebug 上需要这个:
brew install -f fftw-3.3.5.yosemite.bottle.1.tar.gz
其中 fftw-3.3.5.yosemite.bottle.1.tar.gz
是由命令生成的文件
brew install --build-bottle fftw --with-openmp
brew bottle fftw