kopia lustrzana https://github.com/OpenDroneMap/ODM
build all, with CUDA.
rodzic
fec14ac683
commit
f17b666dd4
|
@ -58,10 +58,10 @@ jobs:
|
|||
with:
|
||||
python-version: '3.12.10'
|
||||
architecture: 'x64'
|
||||
# - uses: Jimver/cuda-toolkit@v0.2.24
|
||||
# id: cuda-toolkit
|
||||
# with:
|
||||
# cuda: '12.8.1'
|
||||
- uses: Jimver/cuda-toolkit@v0.2.24
|
||||
id: cuda-toolkit
|
||||
with:
|
||||
cuda: '12.8.1'
|
||||
- name: Setup cmake
|
||||
uses: jwlawson/actions-setup-cmake@v1.13
|
||||
with:
|
||||
|
|
|
@ -104,7 +104,7 @@ def build():
|
|||
|
||||
toolchain_file = os.path.join(os.getcwd(), "vcpkg", "scripts", "buildsystems", "vcpkg.cmake")
|
||||
run("cmake .. -DCMAKE_TOOLCHAIN_FILE=\"%s\"" % toolchain_file, cwd=build_dir)
|
||||
run("cmake --build . --config Release -j2 --target ceres", cwd=build_dir)
|
||||
run("cmake --build . --config Release -j2", cwd=build_dir)
|
||||
|
||||
def vcpkg_export():
|
||||
if not os.path.exists("vcpkg"):
|
||||
|
|
Ładowanie…
Reference in New Issue