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