-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bbed18
commit 16d5514
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
REM sudo apt-get update | ||
REM sudo apt-get install gcc-aarch64-linux-gnu | ||
REM sudo apt install g++-aarch64-linux-gnu | ||
|
||
mkdir build | ||
cd build | ||
cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLIB_BUILD_TYPE=STATIC -DCMAKE_VERBOSE_MAKEFILE=on -DTOOLCHAIN_CROSS_TRIPLET="aarch64-linux-gnu" -DCMAKE_TOOLCHAIN_FILE:PATH="../compv/jetson.arm64.toolchain.cmake" | ||
cd .. | ||
|
||
@echo off | ||
REM to build: cd build && make | ||
REM If you're using a Windows machine without "make" command then using the one under %TOOLCHAIN_ARM64%/bin/make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
REM sudo apt-get update | ||
REM sudo apt-get install gcc-aarch64-linux-gnu | ||
REM sudo apt install g++-aarch64-linux-gnu | ||
|
||
mkdir build | ||
cd build | ||
cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLIB_BUILD_TYPE=STATIC -DCMAKE_VERBOSE_MAKEFILE=on -DTOOLCHAIN_CROSS_TRIPLET="aarch64-linux-gnu" -DCMAKE_TOOLCHAIN_FILE:PATH="../compv/linux.arm64.toolchain.cmake" | ||
cd .. | ||
|
||
@echo off | ||
REM to build: cd build && make | ||
REM If you're using a Windows machine without "make" command then using the one under %TOOLCHAIN_ARM64%/bin/make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include(linux.arm64.toolchain.cmake) | ||
|
||
set (CROSSCOMPILING_TARGET_OS "JETSON") | ||
set (TARGET_OS "JETSON") |