Project

General

Profile

artdaq_core Release Notes 1.03.03 (28-Aug-2014)

The v1_03_xx series of artdaq_core releases depend on art v1_11_xx, and can optionally be built against art v1_10_00b.

The e5 qualifier indicates gcc v4_8_2, and e6 indicates gcc v4_9_1.

The s3 qualifier indicates art v1_10_00b, and s4 indicates art v1_11_02.

e6:s4 is the default.

External Package Changes

artdaq_core v1_03_03

New features:

  • none

Bug fixes:

  • none

Operational changes:

  • none

Known issues:

  • Developers that are updating to this release and starting to use a v4_01_xx version of cetbuildtools should consult the notes below on converting to the newer cetbuildtools.

Dependent Package Notes

Notes on converting to cetbuildtools v4_01_xx

The following changes were noted between artdaq_core v1_03_04 and v1_02_01. Some of these are related to an updated version of cetbuildtools; others are part of the update of artdaq_core itself. They are all listed here for reference.

*** product_deps:

    switch from e5 to e6
    s3 and s4 qualifiers
    removal of gcc version
    move of only_for_build packages
    e5, e6 comments
    removal of gcc from the table
    [see the artdaq-core instance]

*** setup_for_development

    changes to cetb and cetv

-set_ cetb=` grep -e '^[ \t]*only_for_build' $CETPKG_SOURCE/ups/product_deps | grep cetbuildtools | awk '{ print $2 }' `
-set_ cetv=` grep -e '^[ \t]*only_for_build' $CETPKG_SOURCE/ups/product_deps | grep cetbuildtools | awk '{ print $3 }' `
+set_ cetb=` grep -e '^[ \t]*cetbuildtools' $CETPKG_SOURCE/ups/product_deps | grep  only_for_build| awk '{ print $1 }' `
+set_ cetv=` grep -e '^[ \t]*cetbuildtools' $CETPKG_SOURCE/ups/product_deps | grep  only_for_build| awk '{ print $2 }' `

*** top-level CMakeLists.txt

    change in format to CMAKE_MODULE_PATH definition
    removal of nano sleep comment
    removal of EXTRA_CXX_FLAGS
    update of cetbuildtools version find (v4_01_03)
    removal of cet_check_gcc
    move of include(ProcessSmc) from low level to high level

-# -D_GLIBCXX_USE_NANOSLEEP is needed to make std::this_thread::sleep_for available.
 cet_set_compiler_flags(DIAGS VIGILANT
   WERROR
   NO_UNDEFINED
   EXTRA_FLAGS -pedantic
-  EXTRA_CXX_FLAGS -std=c++11  -D_GLIBCXX_USE_NANOSLEEP
 )

-cet_check_gcc()
-
-# include search path
-# notice use of ENV to invoke an external variable
-include_directories ( $ENV{LIBSIGCPP_INC}/sigc++-2.0 )
-include_directories ( $ENV{LIBSIGCPP_LIB}/sigc++-2.0/include )
-include_directories ( $ENV{SMC_HOME}/lib/C++ )
-
-#  Find all the libraries needed by our dependent CMakeList.txt files
-find_library( CPPUNIT NAMES cppunit   PATHS $ENV{CPPUNIT_LIB}   NO_DEFAULT_PATH )
-find_library( SIGC    NAMES sigc-2.0  PATHS $ENV{LIBSIGCPP_LIB} NO_DEFAULT_PATH )
+# Needed if using old art with new cetbuildtools / CMake.
+check_ups_version(art "$ENV{ART_VERSION}" v1_11_00 PRODUCT_OLDER_VAR have_old_art)
+if (have_old_art)
+  cmake_policy(SET CMP0046 OLD)
+endif()
+unset(have_old_art)