Skip to content

Commit

Permalink
turn off xla and gcc 7.3 for release
Browse files Browse the repository at this point in the history
Former-commit-id: 93c120f
  • Loading branch information
jackalcooper committed Oct 5, 2020
1 parent b463722 commit 16966b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
uses: ./.github/actions/setup
- name: Build OneFlow
run: |
export ONEFLOW_CI_TMP_DIR=$HOME/ci-tmp-xla-102
export ONEFLOW_CI_TMP_DIR=$HOME/ci-tmp-rel-102
export ONEFLOW_CI_PYTHON_VERSION_ARGS=" "
export ONEFLOW_CI_EXTRA_ONEFLOW_CMAKE_ARGS="-DWITH_XLA=ON"
export ONEFLOW_CI_EXTRA_ONEFLOW_CMAKE_ARGS="-DWITH_XLA=OFF"
export ONEFLOW_CI_BUILD_WHEEL_BASH_ARGS=" "
export ONEFLOW_CI_PACKAGE_SUFFIX="_cu102"
if [ -d $ONEFLOW_CI_TMP_DIR/wheelhouse ]; then
echo "existing wheelhouse found"
Expand Down
3 changes: 2 additions & 1 deletion ci/build/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ extra_oneflow_cmake_args=${ONEFLOW_CI_EXTRA_ONEFLOW_CMAKE_ARGS:-""}
package_suffix=${ONEFLOW_CI_PACKAGE_SUFFIX:-""}
cuda_version=${ONEFLOW_CI_CUDA_VERSION:-"10.2"}
python_version_args=${ONEFLOW_CI_PYTHON_VERSION_ARGS:-"--python3.6"}
build_wheel_bash_args=${ONEFLOW_CI_BUILD_WHEEL_BASH_ARGS:-"-l"}
mkdir -p $tmp_dir
docker_tag=${ONEFLOW_CI_DOCKER_TAG:-"oneflow:ci-manylinux2014-cuda10.2"}

Expand Down Expand Up @@ -40,7 +41,7 @@ function build() {
-v $tmp_dir:/ci-tmp \
-w /ci-tmp \
"$docker_tag" \
bash -l /oneflow-src/docker/package/manylinux/build_wheel.sh \
bash ${build_wheel_bash_args} /oneflow-src/docker/package/manylinux/build_wheel.sh \
${python_version_args} \
--house-dir /ci-tmp/wheelhouse \
--package-name oneflow${package_suffix} \
Expand Down

0 comments on commit 16966b1

Please sign in to comment.