Skip to content

Commit

Permalink
JCF: for DUNE-DAQ/daq-release#379, add compilation flag originally fo…
Browse files Browse the repository at this point in the history
…und in readoutmodules
  • Loading branch information
John Freeman committed Jun 25, 2024
1 parent a3e8af1 commit a0674de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@ find_package(dfmessages REQUIRED)
find_package(folly REQUIRED)
find_package(Boost COMPONENTS iostreams unit_test_framework REQUIRED)
find_package(CLI11 REQUIRED)

set(BOOST_LIBS Boost::iostreams ${Boost_SYSTEM_LIBRARY} ${Boost_THREAD_LIBRARY} ${Boost_LIBRARIES})

set(FDREADOUTLIBS_USE_INTRINSICS ON)

if(${FDREADOUTLIBS_USE_INTRINSICS})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx2")
endif()


#daq_codegen( readoutconfig.jsonnet sourceemulatorconfig.jsonnet recorderconfig.jsonnet TEMPLATES Structs.hpp.j2 Nljs.hpp.j2 )
daq_codegen( *info.jsonnet DEP_PKGS opmonlib TEMPLATES opmonlib/InfoStructs.hpp.j2 opmonlib/InfoNljs.hpp.j2 )

Expand Down
2 changes: 1 addition & 1 deletion include/datahandlinglibs/ReadoutTypes.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file ReadoutTypes.hpp Common types in udaq-datahandlinglibs
* @file ReadoutTypes.hpp Common types in datahandlinglibs
*
* This is part of the DUNE DAQ , copyright 2020.
* Licensing/copyright details are in the COPYING file that you should have
Expand Down

0 comments on commit a0674de

Please sign in to comment.