8000 Implement configuring for 32 bit arm · lethalbrains/arangodb@7c18cbd · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c18cbd

Browse files
committed
Implement configuring for 32 bit arm
1 parent e2bf40a commit 7c18cbd

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

3rdParty/V8/CMakeLists.txt

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,17 @@ endif()
3333

3434
# detect 32bit or 64bit
3535

36-
if ("${BITS}" STREQUAL "64")
37-
set(V8_PROC_ARCH "x64")
36+
if (${CMAKE_TARGET_ARCHITECTURES} STREQUAL "armv7")
37+
set(V8_PROC_ARCH "arm")
38+
list(APPEND V8_GYP_ARGS -Darm_version=7 -Darm_fpu=default -Darm_float_abi=default)
3839
else ()
39-
message(ERROR "#### WILLY FIX ME ####")
40-
set(V8_PROC_ARCH "ia32")
41-
endif () # TODO: ARM? Win32?
40+
if ("${BITS}" STREQUAL "64")
41+
set(V8_PROC_ARCH "x64")
42+
else ()
43+
set(V8_PROC_ARCH "ia32")
44+
endif ()
45+
endif()
46+
4247

4348
# target architecture
4449

0 commit comments

Comments
 (0)
0