Skip to content

Commit 340bcac

Browse files
authored
[docs] Remove unused libtorch options (#4121)
CMake issued a warning upon fresh configuration: > Manually-specified variables were not used by the project: > LIBTORCH_CACHE > LIBTORCH_SRC_BUILD > LIBTORCH_VARIANT
1 parent 9f2ba5a commit 340bcac

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

docs/development.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -126,18 +126,10 @@ cmake -GNinja -Bbuild \
126126
`# if using clang <= 13, replace --ld-path=ld.lld with -fuse-ld=lld` \
127127
-DCMAKE_EXE_LINKER_FLAGS_INIT="--ld-path=ld.lld" \
128128
-DCMAKE_MODULE_LINKER_FLAGS_INIT="--ld-path=ld.lld" \
129-
-DCMAKE_SHARED_LINKER_FLAGS_INIT="--ld-path=ld.lld" \
130-
`# Enabling libtorch binary cache instead of downloading the latest libtorch everytime.` \
131-
`# Testing against a mismatched version of libtorch may cause failures` \
132-
-DLIBTORCH_CACHE=ON \
133-
`# Enable an experimental path to build libtorch (and PyTorch wheels) from source,` \
134-
`# instead of downloading them` \
135-
-DLIBTORCH_SRC_BUILD=ON \
136-
`# Set the variant of libtorch to build / link against. (shared|static and optionally cxxabi11)` \
137-
-DLIBTORCH_VARIANT=shared
138-
```
139-
140-
- This will build `libtorch` / `PyTorch` wheels from source and requires [the enablement mentioned earlier](#optional-enable-quicker-builds).
129+
-DCMAKE_SHARED_LINKER_FLAGS_INIT="--ld-path=ld.lld"
130+
```
131+
132+
- This requires [the enablement mentioned earlier](#optional-enable-quicker-builds).
141133
- If you encounter issues when you run this, try the [simplified build command](#base-options) instead.
142134

143135
###### ...Base Options

0 commit comments

Comments
 (0)