PyTorch: Difference between revisions

Jump to navigation Jump to search
m
also wrap the cmake command for StdEnv/2020 to make it more readable
(update use of LibTorch for StdEnv/2023)
m (also wrap the cmake command for StdEnv/2020 to make it more readable)
Line 2,221: Line 2,221:
</tab>
</tab>
<tab name="StdEnv/2020">
<tab name="StdEnv/2020">
  cmake -B build -S . -DCMAKE_PREFIX_PATH=$VIRTUAL_ENV/lib/python3.10/site-packages -DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath=$VIRTUAL_ENV/lib/python3.10/site-packages/torch/lib -DCMAKE_SKIP_RPATH=ON
  cmake -B build -S . -DCMAKE_PREFIX_PATH=$VIRTUAL_ENV/lib/python3.10/site-packages \
                    -DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath=$VIRTUAL_ENV/lib/python3.10/site-packages/torch/lib \
                    -DCMAKE_SKIP_RPATH=ON
  cmake --build build  
  cmake --build build  
</tab>
</tab>
cc_staff
653

edits

Navigation menu