mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
Reviewed By: bottler, wanyenlo Differential Revision: D19658045 fbshipit-source-id: a623a81c1ed1fa4054ea55bf06a2926e297b7966
16 lines
554 B
Bash
Executable File
16 lines
554 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
|
set -ex
|
|
|
|
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
. "$script_dir/pkg_helpers.bash"
|
|
|
|
export BUILD_TYPE=conda
|
|
setup_env 0.1.0
|
|
export SOURCE_ROOT_DIR="$PWD"
|
|
setup_conda_pytorch_constraint
|
|
setup_conda_cudatoolkit_constraint
|
|
setup_visual_studio_constraint
|
|
# shellcheck disable=SC2086
|
|
conda build $CONDA_CHANNEL_FLAGS ${TEST_FLAG:-} -c defaults -c conda-forge --no-anaconda-upload -c fvcore --python "$PYTHON_VERSION" packaging/pytorch3d
|