Skip to content

Commit cce3615

Browse files
author
Anthony Mallet
committed
[simulation/libdart] Fix wrong build option
Disable -DDART_ENABLE_SIMD as it actually triggers building with -march=native. This is a wrong idea for building binary packages, but also for source packages, as this requires all dependent packages to be built with the same option (in particular, Eigen objects may have different alignment constraints with and without -march=native). Bump PKGREVISION.
1 parent e504e82 commit cce3615

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

simulation/libdart/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Created: Anthony Mallet on Mon, 10 Feb 2025
33
#
44

5+
PKGREVISION= 1
56
DISTNAME= dart-6.15.0
67
PKGNAME= lib${DISTNAME}
78
CATEGORIES= simulation
@@ -15,11 +16,11 @@ LICENSE= 2-clause-bsd
1516

1617
# enable required features
1718
CMAKE_ARGS+= -DFETCHCONTENT_FULLY_DISCONNECTED=ON
18-
CMAKE_ARGS+= -DDART_ENABLE_SIMD=ON
1919
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
2020
CMAKE_ARGS+= -DCMAKE_INSTALL_LIBDIR=lib
2121

2222
# disable unwanted features
23+
CMAKE_ARGS+= -DDART_ENABLE_SIMD=OFF
2324
CMAKE_ARGS+= -DBUILD_TESTING=OFF
2425
CMAKE_ARGS+= -DDART_BUILD_DARTPY=OFF
2526
CMAKE_ARGS+= -DDART_BUILD_GUI_OSG=OFF

0 commit comments

Comments
 (0)