Skip to content
Snippets Groups Projects
Commit 917e71c6 authored by Administrator's avatar Administrator
Browse files

Fix compilation on Apple arm64

SSE is not available for arm64, so fallback to use Scalar Vc mode when
compiling on arm64.
parent 35fd76dc
No related branches found
No related tags found
1 merge request!2080Fix compilation on Apple arm64
Pipeline #33790 passed
......@@ -64,7 +64,11 @@ target_link_libraries(KfCore
##### Offline version without the NO_ROOT in order to get standard logger! #############################################
if (NOT CBM_ONLINE_STANDALONE)
set(LIBRARY_NAME KfCoreOffline)
set(LINKDEF ${LIBRARY_NAME}LinkDef.h)
if (SSE_FOUND)
set(LINKDEF ${LIBRARY_NAME}LinkDef.h)
else()
set(LINKDEF ${LIBRARY_NAME}NoSSELinkDef.h)
endif()
list(APPEND HEADERS data/KfTrackParam.h
)
......
/* Copyright (C) 2025 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
SPDX-License-Identifier: GPL-3.0-only
Authors: Sergei Zharko [committer] */
#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ class cbm::algo::kf::TrackParamBaseScalar<float> + ;
#pragma link C++ class cbm::algo::kf::TrackParamBaseScalar<double> + ;
#pragma link C++ class cbm::algo::kf::TrackParamBase<float> + ;
#pragma link C++ class cbm::algo::kf::TrackParamBase<double> + ;
#pragma link C++ class cbm::algo::kf::TrackParamBase<Vc_1::Vector<float, Vc_1::VectorAbi::Scalar> > + ;
#pragma link C++ class cbm::algo::kf::TrackParam<float> + ;
#pragma link C++ class cbm::algo::kf::TrackParam<double> + ;
#pragma link C++ class cbm::algo::kf::TrackParam<Vc_1::Vector<float, Vc_1::VectorAbi::Scalar> > + ;
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment