diff --git a/build/debian/control b/build/debian/control index 9b584478a49..a6a0fb6d505 100644 --- a/build/debian/control +++ b/build/debian/control @@ -21,6 +21,7 @@ Build-Depends: cmake, libssl-dev, libudev-dev, libxml2-dev, + libxaiengine, libyaml-dev, lsb-release, ocl-icd-dev, @@ -31,6 +32,7 @@ Build-Depends: cmake, rapidjson-dev, systemtap-sdt-dev, uuid-dev, + xaiefal, Standards-Version: 4.5.0 Package: xrt diff --git a/build/debian/rules b/build/debian/rules index 664e2d40492..24d595072cd 100755 --- a/build/debian/rules +++ b/build/debian/rules @@ -6,9 +6,9 @@ override_dh_auto_configure: set -ex; \ if [ "$$(dpkg-architecture -q DEB_TARGET_ARCH)" = arm64 ]; then \ - XRT_NATIVE_BUILD=no DKMS_FLOW=yes dh_auto_configure; \ + XRT_NATIVE_BUILD=no DKMS_FLOW=yes XRT_AIE_BUILD=true CXXFLAGS="-DXRT_ENABLE_AIE -DFAL_LINUX=on" dh_auto_configure; \ else \ - dh_auto_configure; \ + dh_auto_configure; \ fi override_dh_auto_test: diff --git a/src/runtime_src/xdp/profile/database/statistics_database.cpp b/src/runtime_src/xdp/profile/database/statistics_database.cpp index 022c5e44c4d..9baf4d0f5cd 100644 --- a/src/runtime_src/xdp/profile/database/statistics_database.cpp +++ b/src/runtime_src/xdp/profile/database/statistics_database.cpp @@ -220,7 +220,7 @@ namespace xdp { auto threadId = std::this_thread::get_id(); auto key = std::make_pair(name, threadId); - auto value = std::make_pair(timestamp, (double)0.0); + std::pairvalue {timestamp, 0.0}; // Since a single thread can call a function multiple times, we store // the starts in a vector. If the thread makes a recursive call, we'll