2 Star 0 Fork 0

YouhuiBai / mxnet-1.5.0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appveyor.yml 2.77 KB
一键复制 编辑 原始数据 按行查看 历史
YouhuiBai 提交于 2019-05-27 16:48 . init
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
version: 1.0.{build}
environment:
MXNET_VS: "Visual Studio 12 2013 Win64"
MXNET_OPENBLAS_FILE: openblas.7z
MXNET_OPENBLAS_DIR: openblas
MXNET_OPENBLAS_PKG: https://github.com/hjk41/MiscFiles/blob/master/openblas.7z?raw=true
MXNET_OPENCV_FILE: opencv.7z
MXNET_OPENCV_DIR: opencv
MXNET_OPENCV_PKG: https://github.com/hjk41/MiscFiles/blob/master/opencv.7z?raw=true
install:
- ps: >-
git submodule init
git submodule update
if (!(Test-Path ${env:MXNET_OPENBLAS_FILE})) {
echo "Downloading openblas from ${env:MXNET_OPENBLAS_PKG} ..."
appveyor DownloadFile "${env:MXNET_OPENBLAS_PKG}" -FileName ${env:MXNET_OPENBLAS_FILE} -Timeout 1200000
}
if (!(Test-Path ${env:MXNET_OPENCV_FILE})) {
echo "Downloading opencv from ${env:MXNET_OPENCV_PKG} ..."
appveyor DownloadFile "${env:MXNET_OPENCV_PKG}" -FileName ${env:MXNET_OPENCV_FILE} -Timeout 1200000
}
- cmd: >-
echo "Extracting openblas to %APPVEYOR_BUILD_FOLDER% ..."
7z x %MXNET_OPENBLAS_FILE% -y -o"%APPVEYOR_BUILD_FOLDER%" >NUL
echo "Extracting opencv to %APPVEYOR_BUILD_FOLDER% ..."
7z x %MXNET_OPENCV_FILE% -y -o"%APPVEYOR_BUILD_FOLDER%" >NUL
cache:
- openblas.7z -> appveyor.yml
- opencv.7z -> appveyor.yml
before_build:
- cmd: >-
mkdir build
cd .\build
set OpenBLAS_HOME=%APPVEYOR_BUILD_FOLDER%/%MXNET_OPENBLAS_DIR%
set OpenCV_DIR=%APPVEYOR_BUILD_FOLDER%/%MXNET_OPENCV_DIR%/build
cmake .. -DOPENCV_DIR=%OpenCV_DIR% -DUSE_PROFILER=1 -DUSE_CUDA=0 -DUSE_CUDNN=0 -DUSE_NVRTC=0 -DUSE_OPENCV=1 -DUSE_OPENMP=1 -DUSE_BLAS=open -DUSE_LAPACK=1 -DUSE_DIST_KVSTORE=0 -G "Visual Studio 12 2013 Win64"
build_script:
- cmd: >-
msbuild mxnet.sln /t:Rebuild /p:Configuration=Release;Platform=x64 /m
test_script:
- cmd: >-
echo "test not enabled yet"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/YouhuiBai/mxnet-1.5.0.git
git@gitee.com:YouhuiBai/mxnet-1.5.0.git
YouhuiBai
mxnet-1.5.0
mxnet-1.5.0
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891