mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-17 21:00:38 +08:00
License lint codebase
Summary: License lint codebase Reviewed By: theschnitz Differential Revision: D29001799 fbshipit-source-id: 5c59869911785b0181b1663bbf430bc8b7fb2909
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7e43f29d52
commit
af93f34834
@@ -1,5 +1,10 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
set -ex
|
||||
|
||||
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
set -ex
|
||||
|
||||
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
if [[ -x "/remote/anaconda_token" ]]; then
|
||||
. /remote/anaconda_token || true
|
||||
fi
|
||||
|
||||
@@ -1,2 +1,8 @@
|
||||
@REM Copyright (c) Facebook, Inc. and its affiliates.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This source code is licensed under the BSD-style license found in the
|
||||
@REM LICENSE file in the root directory of this source tree.
|
||||
|
||||
:: Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
start /wait "" "%miniconda_exe%" /S /InstallationType=JustMe /RegisterPython=0 /AddToPath=0 /D=%tmp_conda%
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
if [[ "$OSTYPE" == "msys" ]]; then
|
||||
CUDA_DIR="/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v$1"
|
||||
else
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
set -ex
|
||||
sudo chown -R "$USER" output
|
||||
python publish.py
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
sudo docker run --rm -v "$PWD/../../:/inside" pytorch/conda-cuda bash inside/packaging/linux_wheels/inside.sh
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
set -ex
|
||||
|
||||
conda init bash
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
:: Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
@REM Copyright (c) Facebook, Inc. and its affiliates.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This source code is licensed under the BSD-style license found in the
|
||||
@REM LICENSE file in the root directory of this source tree.
|
||||
|
||||
:: Set env vars that tell distutils to use the compiler that we put on path
|
||||
SET DISTUTILS_USE_SDK=1
|
||||
SET MSSdk=1
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
:: Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
@REM Copyright (c) Facebook, Inc. and its affiliates.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This source code is licensed under the BSD-style license found in the
|
||||
@REM LICENSE file in the root directory of this source tree.
|
||||
|
||||
set YEAR=2017
|
||||
set VER=15
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
:: Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
@REM Copyright (c) Facebook, Inc. and its affiliates.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This source code is licensed under the BSD-style license found in the
|
||||
@REM LICENSE file in the root directory of this source tree.
|
||||
|
||||
set VC_PATH=x86
|
||||
if "%ARCH%"=="64" (
|
||||
set VC_PATH=x64
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
:: Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
@REM Copyright (c) Facebook, Inc. and its affiliates.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This source code is licensed under the BSD-style license found in the
|
||||
@REM LICENSE file in the root directory of this source tree.
|
||||
|
||||
:: Set env vars that tell distutils to use the compiler that we put on path
|
||||
SET DISTUTILS_USE_SDK=1
|
||||
SET MSSdk=1
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
:: Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
@REM Copyright (c) Facebook, Inc. and its affiliates.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This source code is licensed under the BSD-style license found in the
|
||||
@REM LICENSE file in the root directory of this source tree.
|
||||
|
||||
set YEAR=2019
|
||||
set VER=16
|
||||
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
:: Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
@REM Copyright (c) Facebook, Inc. and its affiliates.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This source code is licensed under the BSD-style license found in the
|
||||
@REM LICENSE file in the root directory of this source tree.
|
||||
|
||||
set VC_PATH=x86
|
||||
if "%ARCH%"=="64" (
|
||||
set VC_PATH=x64
|
||||
|
||||
Reference in New Issue
Block a user