Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
b81f0887
Commit
b81f0887
authored
Feb 06, 2013
by
Alexander Smorkalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Carma board support fixed.
parent
4e243e17
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
4 deletions
+44
-4
arm_linux_stub.cpp
3rdparty/tbb/arm_linux_stub.cpp
+11
-0
arm-gnueabi-hardfp.toolchain.cmake
platforms/linux/arm-gnueabi-hardfp.toolchain.cmake
+8
-2
arm-gnueabi-softfp.toolchain.cmake
platforms/linux/arm-gnueabi-softfp.toolchain.cmake
+8
-2
cmake_carma.sh
platforms/linux/scripts/cmake_carma.sh
+17
-0
No files found.
3rdparty/tbb/arm_linux_stub.cpp
0 → 100644
View file @
b81f0887
#include "tbb/tbb_misc.h"
namespace
tbb
{
namespace
internal
{
void
affinity_helper
::
protect_affinity_mask
()
{}
affinity_helper
::~
affinity_helper
()
{}
}
}
\ No newline at end of file
platforms/linux/arm-gnueabi-hardfp.toolchain.cmake
View file @
b81f0887
...
@@ -2,8 +2,14 @@ set(CMAKE_SYSTEM_NAME Linux)
...
@@ -2,8 +2,14 @@ set(CMAKE_SYSTEM_NAME Linux)
set
(
CMAKE_SYSTEM_VERSION 1
)
set
(
CMAKE_SYSTEM_VERSION 1
)
set
(
CMAKE_SYSTEM_PROCESSOR arm
)
set
(
CMAKE_SYSTEM_PROCESSOR arm
)
set
(
CMAKE_C_COMPILER arm-linux-gnueabihf-gcc-4.6
)
if
(
CARMA
)
set
(
CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++-4.6
)
set
(
GCC_COMPILER_VERSION
"4.5"
CACHE STRING
"GCC Compiler version"
)
else
()
set
(
GCC_COMPILER_VERSION
"4.6"
CACHE STRING
"GCC Compiler version"
)
endif
()
set
(
CMAKE_C_COMPILER arm-linux-gnueabi-gcc-
${
GCC_COMPILER_VERSION
}
)
set
(
CMAKE_CXX_COMPILER arm-linux-gnueabi-g++-
${
GCC_COMPILER_VERSION
}
)
set
(
CMAKE_CXX_FLAGS
""
CACHE STRING
"c++ flags"
)
set
(
CMAKE_CXX_FLAGS
""
CACHE STRING
"c++ flags"
)
set
(
CMAKE_C_FLAGS
""
CACHE STRING
"c flags"
)
set
(
CMAKE_C_FLAGS
""
CACHE STRING
"c flags"
)
...
...
platforms/linux/arm-gnueabi-softfp.toolchain.cmake
View file @
b81f0887
...
@@ -2,8 +2,14 @@ set(CMAKE_SYSTEM_NAME Linux)
...
@@ -2,8 +2,14 @@ set(CMAKE_SYSTEM_NAME Linux)
set
(
CMAKE_SYSTEM_VERSION 1
)
set
(
CMAKE_SYSTEM_VERSION 1
)
set
(
CMAKE_SYSTEM_PROCESSOR arm
)
set
(
CMAKE_SYSTEM_PROCESSOR arm
)
set
(
CMAKE_C_COMPILER arm-linux-gnueabi-gcc-4.6
)
if
(
CARMA
)
set
(
CMAKE_CXX_COMPILER arm-linux-gnueabi-g++-4.6
)
set
(
GCC_COMPILER_VERSION
"4.5"
CACHE STRING
"GCC Compiler version"
)
else
()
set
(
GCC_COMPILER_VERSION
"4.6"
CACHE STRING
"GCC Compiler version"
)
endif
()
set
(
CMAKE_C_COMPILER arm-linux-gnueabi-gcc-
${
GCC_COMPILER_VERSION
}
)
set
(
CMAKE_CXX_COMPILER arm-linux-gnueabi-g++-
${
GCC_COMPILER_VERSION
}
)
set
(
CMAKE_CXX_FLAGS
""
CACHE STRING
"c++ flags"
)
set
(
CMAKE_CXX_FLAGS
""
CACHE STRING
"c++ flags"
)
set
(
CMAKE_C_FLAGS
""
CACHE STRING
"c flags"
)
set
(
CMAKE_C_FLAGS
""
CACHE STRING
"c flags"
)
...
...
platforms/linux/scripts/cmake_carma.sh
0 → 100755
View file @
b81f0887
#!/bin/sh
#
# Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA Corporation and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA Corporation is strictly prohibited.
#
mkdir
-p
build_carma
cd
build_carma
cmake
-DCARMA
=
ON
-DWITH_TBB
=
ON
-DBUILD_TBB
=
ON
-DUSE_NEON
=
ON
-DCUDA_TOOLKIT_ROOT_DIR
=
/usr/arm-linux-gnueabi/cuda/
\
-DCUDA_ARCH_BIN
=
"2.1(2.0)"
-DCUDA_ARCH_PTX
=
""
-DCMAKE_SKIP_RPATH
=
ON
-DWITH_CUDA
=
ON
-DWITH_CUBLAS
=
ON
\
-DCMAKE_TOOLCHAIN_FILE
=
../arm-gnueabi-softfp.toolchain.cmake
$@
../../..
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment