trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Warning: Changing WITH_HAL and WITH_TDEHWLIB configuration defaults

From: "Darrell Anderson" <darrella@...>
Date: Mon, 20 Jan 2014 17:24:24 -0600
Per bug report 1838, we are changing the defaults in tdebase 
CMakeLists.txt.

Please remember to verify your tdebase build scripts. :)

If building for mixed distro releases, consider something like the 
following in the build script:

if [ -x /usr/sbin/hald ]; then
  BUILD_HAL=${BUILD_HAL:-ON}
  BUILD_TDEHWLIB=${BUILD_TDEHWLIB:-OFF}
else
  BUILD_HAL=${BUILD_HAL:-OFF}
  BUILD_TDEHWLIB=${BUILD_TDEHWLIB:-ON}
fi
...
cmake $SOURCES_ROOT \
...
  -DWITH_HAL=${BUILD_HAL} \
  -DWITH_TDEHWLIB=${BUILD_TDEHWLIB} \
...


Darrell