Excise remaining python2 and python3.5 names.
We already deprecated them, so they should no longer be used at all. We have CI failing as it picks a py3.5 default. Subsequent changes will fix broken CI jobs. PiperOrigin-RevId: 352044870 Change-Id: I50a62d322ec05781beea78a27704ee7849c277e1
This commit is contained in:
parent
3301bc5599
commit
21ee78c7c9
@ -63,8 +63,8 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
|
||||
# Install python 3.7
|
||||
RUN /install/install_python37.sh
|
||||
|
||||
# Install pip3.5
|
||||
RUN wget https://bootstrap.pypa.io/get-pip.py && python3.5 get-pip.py && rm get-pip.py
|
||||
# Install pip3.6
|
||||
RUN wget https://bootstrap.pypa.io/get-pip.py && python3.6 get-pip.py && rm get-pip.py
|
||||
|
||||
RUN /install/install_pip_packages.sh
|
||||
RUN /install/install_auditwheel.sh
|
||||
|
@ -63,8 +63,8 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
|
||||
# Install python 3.7
|
||||
RUN /install/install_python37.sh
|
||||
|
||||
# Install pip3.5
|
||||
RUN wget https://bootstrap.pypa.io/get-pip.py && python3.5 get-pip.py && rm get-pip.py
|
||||
# Install pip3.6
|
||||
RUN wget https://bootstrap.pypa.io/get-pip.py && python3.6 get-pip.py && rm get-pip.py
|
||||
|
||||
RUN /install/install_pip_packages.sh
|
||||
RUN /install/install_auditwheel.sh
|
||||
|
@ -65,8 +65,8 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
|
||||
# Install python 3.7
|
||||
RUN /install/install_python37.sh
|
||||
|
||||
# Install pip3.5
|
||||
RUN wget https://bootstrap.pypa.io/get-pip.py && python3.5 get-pip.py && rm get-pip.py
|
||||
# Install pip3.6
|
||||
RUN wget https://bootstrap.pypa.io/get-pip.py && python3.6 get-pip.py && rm get-pip.py
|
||||
|
||||
RUN /install/install_pip_packages.sh
|
||||
RUN /install/install_auditwheel.sh
|
||||
|
@ -73,18 +73,14 @@ COPY install/install_bazel.sh /install/
|
||||
RUN /install/install_bazel.sh
|
||||
|
||||
COPY install/build_and_install_python.sh /install/
|
||||
RUN /install/build_and_install_python.sh "2.7.17" "--enable-unicode=ucs4"
|
||||
RUN /install/build_and_install_python.sh "3.5.9"
|
||||
RUN /install/build_and_install_python.sh "3.6.9"
|
||||
RUN /install/build_and_install_python.sh "3.7.7"
|
||||
RUN /install/build_and_install_python.sh "3.8.2"
|
||||
|
||||
COPY install/install_pip_packages_by_version.sh /install/
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip2.7"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.8"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.5"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.6"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.7"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.8"
|
||||
|
||||
ENV CLANG_VERSION="r42cab985fd95ba4f3f290e7bb26b93805edb447d"
|
||||
COPY install/install_latest_clang.sh /install/
|
||||
|
@ -73,18 +73,15 @@ COPY install/install_bazel.sh /install/
|
||||
RUN /install/install_bazel.sh
|
||||
|
||||
COPY install/build_and_install_python.sh /install/
|
||||
RUN /install/build_and_install_python.sh "2.7.17" "--enable-unicode=ucs4"
|
||||
RUN /install/build_and_install_python.sh "3.5.9"
|
||||
RUN /install/build_and_install_python.sh "3.6.9"
|
||||
RUN /install/build_and_install_python.sh "3.7.7"
|
||||
RUN /install/build_and_install_python.sh "3.8.2"
|
||||
|
||||
COPY install/install_pip_packages_by_version.sh /install/
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip2.7"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.8"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.5"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.6"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.7"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.8"
|
||||
|
||||
ENV CLANG_VERSION="r42cab985fd95ba4f3f290e7bb26b93805edb447d"
|
||||
COPY install/install_latest_clang.sh /install/
|
||||
|
@ -79,18 +79,14 @@ COPY install/install_bazel.sh /install/
|
||||
RUN /install/install_bazel.sh
|
||||
|
||||
COPY install/build_and_install_python.sh /install/
|
||||
RUN /install/build_and_install_python.sh "2.7.17" "--enable-unicode=ucs4"
|
||||
RUN /install/build_and_install_python.sh "3.5.9"
|
||||
RUN /install/build_and_install_python.sh "3.6.9"
|
||||
RUN /install/build_and_install_python.sh "3.7.7"
|
||||
RUN /install/build_and_install_python.sh "3.8.2"
|
||||
|
||||
COPY install/install_pip_packages_by_version.sh /install/
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip2.7"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.8"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.5"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.6"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.7"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.8"
|
||||
|
||||
ENV CLANG_VERSION="r7f6f9f4cf966c78a315d15d6e913c43cfa45c47c"
|
||||
COPY install/install_latest_clang.sh /install/
|
||||
|
@ -63,18 +63,14 @@ COPY install/install_bazel.sh /install/
|
||||
RUN /install/install_bazel.sh
|
||||
|
||||
COPY install/build_and_install_python.sh /install/
|
||||
RUN /install/build_and_install_python.sh "2.7.17" "--enable-unicode=ucs4"
|
||||
RUN /install/build_and_install_python.sh "3.5.9"
|
||||
RUN /install/build_and_install_python.sh "3.6.9"
|
||||
RUN /install/build_and_install_python.sh "3.7.7"
|
||||
RUN /install/build_and_install_python.sh "3.8.2"
|
||||
|
||||
COPY install/install_pip_packages_by_version.sh /install/
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip2.7"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.8"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.5"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.6"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.7"
|
||||
RUN /install/install_pip_packages_by_version.sh "/usr/local/bin/pip3.8"
|
||||
|
||||
ENV CLANG_VERSION="r42cab985fd95ba4f3f290e7bb26b93805edb447d"
|
||||
COPY install/install_latest_clang.sh /install/
|
||||
|
@ -25,7 +25,7 @@
|
||||
# Required environment variable(s):
|
||||
# CONTAINER_TYPE: (CPU | GPU)
|
||||
# OS_TYPE: (UBUNTU | MACOS)
|
||||
# TF_PYTHON_VERSION: (python2 | python2.7 | python3.5 | python3.7)
|
||||
# TF_PYTHON_VERSION: ( python3.6 | python3.7 | python3.8 )
|
||||
# TF_BUILD_FLAGS: Bazel build flags.
|
||||
# e.g. TF_BUILD_FLAGS="--config=opt"
|
||||
# TF_TEST_FLAGS: Bazel test flags.
|
||||
@ -192,7 +192,7 @@ check_python_pip_version() {
|
||||
# Check if only the major version of python is provided by the user.
|
||||
MAJOR_VER_ONLY=0
|
||||
if [[ ${#PYTHON_VER} -lt 9 ]]; then
|
||||
# User only provided major version (e.g. 'python2' instead of 'python2.7')
|
||||
# User only provided major version (e.g. 'python3' instead of 'python3.7')
|
||||
MAJOR_VER_ONLY=1
|
||||
fi
|
||||
|
||||
@ -260,7 +260,7 @@ PIP_WHL_DIR="${KOKORO_ARTIFACTS_DIR}/tensorflow/${PIP_TEST_ROOT}/whl"
|
||||
mkdir -p "${PIP_WHL_DIR}"
|
||||
PIP_WHL_DIR=$(realpath "${PIP_WHL_DIR}") # Get absolute path
|
||||
WHL_PATH=""
|
||||
# Determine the major.minor versions of python being used (e.g., 2.7).
|
||||
# Determine the major.minor versions of python being used (e.g., 3.7).
|
||||
# Useful for determining the directory of the local pip installation.
|
||||
PY_MAJOR_MINOR_VER=$(${PYTHON_BIN_PATH} -c "print(__import__('sys').version)" 2>&1 | awk '{ print $1 }' | head -n 1 | cut -c1-3)
|
||||
|
||||
|
@ -132,7 +132,7 @@ cp "./x86_64-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++_nonshared44.a" \
|
||||
# TODO(klimek): Automate linking in all non-gcc / non-kernel include
|
||||
# directories.
|
||||
mkdir -p "/${TARGET}/usr/include/x86_64-linux-gnu"
|
||||
PYTHON_VERSIONS=("python2.7" "python3.5m" "python3.6m" "python3.7m" "python3.8")
|
||||
PYTHON_VERSIONS=("python3.6m" "python3.7m" "python3.8")
|
||||
for v in "${PYTHON_VERSIONS[@]}"; do
|
||||
ln -s "/usr/local/include/${v}" "/${TARGET}/usr/include/x86_64-linux-gnu/${v}"
|
||||
done
|
||||
|
@ -1,95 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed 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.
|
||||
# ==============================================================================
|
||||
# Install packages required by Python3.5 build
|
||||
|
||||
# TODO(cais): Remove this file once we upgrade to ubuntu:16.04 docker images for
|
||||
# Python 3.5 builds.
|
||||
|
||||
# LINT.IfChange
|
||||
|
||||
# fkrull/deadsnakes is for Python3.5
|
||||
add-apt-repository -y ppa:fkrull/deadsnakes
|
||||
apt-get update
|
||||
|
||||
set -e
|
||||
# Install Python 3.5 and dev library
|
||||
apt-get install -y --no-install-recommends python3.5 libpython3.5-dev
|
||||
|
||||
# Install pip3.5
|
||||
set +e
|
||||
pip35_version=$(pip3.5 --version | grep "python 3.5")
|
||||
if [[ -z $pip35_version ]]; then
|
||||
set -e
|
||||
wget -q https://bootstrap.pypa.io/get-pip.py
|
||||
python3.5 get-pip.py
|
||||
rm -f get-pip.py
|
||||
fi
|
||||
|
||||
set -e
|
||||
pip3.5 install --upgrade pip
|
||||
|
||||
# Install last working version of setuptools. This must happen before we install
|
||||
# absl-py, which uses install_requires notation introduced in setuptools 20.5.
|
||||
pip3.5 install --upgrade setuptools==39.1.0
|
||||
|
||||
pip3.5 install --upgrade virtualenv
|
||||
|
||||
# Install six.
|
||||
pip3.5 install --upgrade absl-py
|
||||
pip3.5 install --upgrade six==1.10.0
|
||||
|
||||
# Install protobuf.
|
||||
pip3.5 install --upgrade protobuf==3.6.1
|
||||
|
||||
# Remove obsolete version of six, which can sometimes confuse virtualenv.
|
||||
rm -rf /usr/lib/python3/dist-packages/six*
|
||||
|
||||
# Install numpy, scipy and scikit-learn required by the builds
|
||||
|
||||
# numpy needs to be installed from source to fix segfaults. See:
|
||||
# https://github.com/tensorflow/tensorflow/issues/6968
|
||||
# This workaround isn't needed for Ubuntu 16.04 or later.
|
||||
pip3.5 install --no-binary=:all: --upgrade numpy==1.14.5
|
||||
|
||||
pip3.5 install scipy==1.4.1
|
||||
|
||||
pip3.5 install scikit-learn==0.19.1
|
||||
|
||||
# pandas required by `inflow`
|
||||
pip3 install pandas==0.19.2
|
||||
|
||||
# Install recent-enough version of wheel for Python 3.5 wheel builds
|
||||
pip3.5 install wheel==0.29.0
|
||||
|
||||
pip3.5 install portpicker
|
||||
|
||||
pip3.5 install werkzeug
|
||||
|
||||
pip3.5 install grpcio
|
||||
|
||||
# Eager-to-graph execution needs astor, gast and termcolor:
|
||||
pip3.5 install --upgrade astor
|
||||
pip3.5 install --upgrade gast
|
||||
pip3.5 install --upgrade termcolor
|
||||
|
||||
# Keras
|
||||
pip3.5 install keras_preprocessing==1.0.5
|
||||
pip3.5 install --upgrade h5py==3.1.0
|
||||
|
||||
# Estimator
|
||||
pip3.5 install tf-estimator-nightly==1.12.0.dev20181203 --no-deps
|
||||
|
||||
# LINT.ThenChange(//tensorflow/tools/ci_build/install/install_python3.6_pip_packages.sh)
|
@ -18,8 +18,6 @@
|
||||
# TODO(amitpatankar): Remove this file once we upgrade to ubuntu:16.04
|
||||
# docker images for Python 3.6 builds.
|
||||
|
||||
# LINT.IfChange
|
||||
|
||||
# fkrull/deadsnakes is for Python3.6
|
||||
add-apt-repository -y ppa:fkrull/deadsnakes
|
||||
|
||||
@ -108,5 +106,3 @@ pip3 install keras_preprocessing==1.0.5
|
||||
|
||||
# Estimator
|
||||
pip3 install tf-estimator-nightly==1.12.0.dev20181203 --no-deps
|
||||
|
||||
# LINT.ThenChange(//tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh)
|
||||
|
@ -1,58 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed 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.
|
||||
# ==============================================================================
|
||||
set -e
|
||||
set -x
|
||||
|
||||
source tensorflow/tools/ci_build/release/common.sh
|
||||
|
||||
install_ubuntu_16_python_pip_deps python3.5
|
||||
|
||||
install_bazelisk
|
||||
|
||||
python2.7 tensorflow/tools/ci_build/update_version.py --nightly
|
||||
|
||||
# Run configure.
|
||||
export CC_OPT_FLAGS='-mavx'
|
||||
export PYTHON_BIN_PATH=$(which python3.5)
|
||||
yes "" | "$PYTHON_BIN_PATH" configure.py
|
||||
|
||||
# Build the pip package
|
||||
bazel build --config=release_cpu_linux tensorflow/tools/pip_package:build_pip_package
|
||||
|
||||
./bazel-bin/tensorflow/tools/pip_package/build_pip_package pip_pkg --cpu --nightly_flag
|
||||
|
||||
# Upload the built packages to pypi.
|
||||
for WHL_PATH in $(ls pip_pkg/tf_nightly_cpu-*dev*.whl); do
|
||||
|
||||
WHL_DIR=$(dirname "${WHL_PATH}")
|
||||
WHL_BASE_NAME=$(basename "${WHL_PATH}")
|
||||
AUDITED_WHL_NAME="${WHL_DIR}"/$(echo "${WHL_BASE_NAME//linux/manylinux2010}")
|
||||
auditwheel repair --plat manylinux2010_x86_64 -w "${WHL_DIR}" "${WHL_PATH}"
|
||||
|
||||
# test the whl pip package
|
||||
chmod +x tensorflow/tools/ci_build/builds/nightly_release_smoke_test.sh
|
||||
./tensorflow/tools/ci_build/builds/nightly_release_smoke_test.sh ${AUDITED_WHL_NAME}
|
||||
RETVAL=$?
|
||||
|
||||
# Upload the PIP package if whl test passes.
|
||||
if [ ${RETVAL} -eq 0 ]; then
|
||||
echo "Basic PIP test PASSED, Uploading package: ${AUDITED_WHL_NAME}"
|
||||
twine upload -r pypi-warehouse "${AUDITED_WHL_NAME}"
|
||||
else
|
||||
echo "Basic PIP test FAILED, will not upload ${AUDITED_WHL_NAME} package"
|
||||
return 1
|
||||
fi
|
||||
done
|
@ -1,63 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed 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.
|
||||
# ==============================================================================
|
||||
set -e
|
||||
set -x
|
||||
|
||||
source tensorflow/tools/ci_build/release/common.sh
|
||||
|
||||
install_ubuntu_16_python_pip_deps python3.5
|
||||
|
||||
install_bazelisk
|
||||
|
||||
python2.7 tensorflow/tools/ci_build/update_version.py --nightly
|
||||
|
||||
# Run configure.
|
||||
export CC_OPT_FLAGS='-mavx'
|
||||
export PYTHON_BIN_PATH=$(which python3.5)
|
||||
yes "" | "$PYTHON_BIN_PATH" configure.py
|
||||
|
||||
# Build the pip package
|
||||
bazel build --config=release_gpu_linux tensorflow/tools/pip_package:build_pip_package
|
||||
|
||||
./bazel-bin/tensorflow/tools/pip_package/build_pip_package pip_pkg --nightly_flag
|
||||
./bazel-bin/tensorflow/tools/pip_package/build_pip_package pip_pkg --gpu --nightly_flag
|
||||
|
||||
# Upload the built packages to pypi.
|
||||
for WHL_PATH in $(ls pip_pkg/tf_nightly*dev*.whl); do
|
||||
|
||||
WHL_DIR=$(dirname "${WHL_PATH}")
|
||||
WHL_BASE_NAME=$(basename "${WHL_PATH}")
|
||||
AUDITED_WHL_NAME="${WHL_DIR}"/$(echo "${WHL_BASE_NAME//linux/manylinux2010}")
|
||||
|
||||
# Copy and rename for gpu manylinux as we do not want auditwheel to package in libcudart.so
|
||||
WHL_PATH=${AUDITED_WHL_NAME}
|
||||
cp "${WHL_DIR}"/"${WHL_BASE_NAME}" "${WHL_PATH}"
|
||||
echo "Copied manylinux2010 wheel file at: ${WHL_PATH}"
|
||||
|
||||
# test the whl pip package
|
||||
chmod +x tensorflow/tools/ci_build/builds/nightly_release_smoke_test.sh
|
||||
./tensorflow/tools/ci_build/builds/nightly_release_smoke_test.sh ${AUDITED_WHL_NAME}
|
||||
RETVAL=$?
|
||||
|
||||
# Upload the PIP package if whl test passes.
|
||||
if [ ${RETVAL} -eq 0 ]; then
|
||||
echo "Basic PIP test PASSED, Uploading package: ${AUDITED_WHL_NAME}"
|
||||
twine upload -r pypi-warehouse "${AUDITED_WHL_NAME}"
|
||||
else
|
||||
echo "Basic PIP test FAILED, will not upload ${AUDITED_WHL_NAME} package"
|
||||
return 1
|
||||
fi
|
||||
done
|
@ -1,20 +0,0 @@
|
||||
:: Copyright 2019 The TensorFlow Authors. All Rights Reserved.
|
||||
::
|
||||
:: Licensed 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.
|
||||
:: =============================================================================
|
||||
|
||||
SET PYTHON_DIRECTORY=Python35
|
||||
|
||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||
|
||||
call tensorflow\tools\ci_build\windows\cpu\pip\run.bat --tf_nightly --project_name "tf_nightly_cpu"
|
@ -1,20 +0,0 @@
|
||||
:: Copyright 2019 The TensorFlow Authors. All Rights Reserved.
|
||||
::
|
||||
:: Licensed 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.
|
||||
:: =============================================================================
|
||||
|
||||
SET PYTHON_DIRECTORY=Python35
|
||||
|
||||
CALL tensorflow\tools\ci_build\release\common_win.bat
|
||||
|
||||
call tensorflow\tools\ci_build\windows\gpu\pip\run.bat --tf_nightly
|
@ -28,7 +28,7 @@ ECHO ON
|
||||
IF DEFINED CMAKE_EXE (ECHO CMAKE_EXE is set to %CMAKE_EXE%) ELSE (SET CMAKE_EXE="C:\Program Files\cmake\bin\cmake.exe")
|
||||
IF DEFINED SWIG_EXE (ECHO SWIG_EXE is set to %SWIG_EXE%) ELSE (SET SWIG_EXE="C:\swigwin-3.0.10\swig.exe")
|
||||
IF DEFINED PY_EXE (ECHO PY_EXE is set to %PY_EXE%) ELSE (SET PY_EXE="C:\Program Files\Anaconda3\python.exe")
|
||||
IF DEFINED PY_LIB (ECHO PY_LIB is set to %PY_LIB%) ELSE (SET PY_LIB="C:\Program Files\Anaconda3\libs\python35.lib")
|
||||
IF DEFINED PY_LIB (ECHO PY_LIB is set to %PY_LIB%) ELSE (SET PY_LIB="C:\Program Files\Anaconda3\libs\python36.lib")
|
||||
|
||||
IF DEFINED DISABLE_FORCEINLINE (ECHO DISABLE_FORCEINLINE is set to %DISABLE_FORCEINLINE%) ELSE (SET DISABLE_FORCEINLINE="OFF")
|
||||
|
||||
|
@ -28,7 +28,7 @@ ECHO ON
|
||||
IF DEFINED CMAKE_EXE (ECHO CMAKE_EXE is set to %CMAKE_EXE%) ELSE (SET CMAKE_EXE="C:\Program Files\cmake\bin\cmake.exe")
|
||||
IF DEFINED SWIG_EXE (ECHO SWIG_EXE is set to %SWIG_EXE%) ELSE (SET SWIG_EXE="C:\swigwin-3.0.10\swig.exe")
|
||||
IF DEFINED PY_EXE (ECHO PY_EXE is set to %PY_EXE%) ELSE (SET PY_EXE="C:\Program Files\Anaconda3\python.exe")
|
||||
IF DEFINED PY_LIB (ECHO PY_LIB is set to %PY_LIB%) ELSE (SET PY_LIB="C:\Program Files\Anaconda3\libs\python35.lib")
|
||||
IF DEFINED PY_LIB (ECHO PY_LIB is set to %PY_LIB%) ELSE (SET PY_LIB="C:\Program Files\Anaconda3\libs\python36.lib")
|
||||
IF DEFINED CUDNN_HOME (ECHO CUDNN_HOME is set to %CUDNN_HOME%) ELSE (SET CUDNN_HOME="c:\tools\cuda")
|
||||
IF DEFINED DISABLE_FORCEINLINE (ECHO DISABLE_FORCEINLINE is set to %DISABLE_FORCEINLINE%) ELSE (SET DISABLE_FORCEINLINE="OFF")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user