Skip to content

Commit

Permalink
building packages by enabling AIE (#8605)
Browse files Browse the repository at this point in the history
Signed-off-by: Manoj Takasi <[email protected]>
(cherry picked from commit 927dd40)

Co-authored-by: Manoj Takasi <[email protected]>
  • Loading branch information
ManojTakasi and Manoj Takasi authored Nov 20, 2024
1 parent 09bc24e commit ca69494
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions build/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Build-Depends: cmake,
libssl-dev,
libudev-dev,
libxml2-dev,
libxaiengine,
libyaml-dev,
lsb-release,
ocl-icd-dev,
Expand All @@ -31,6 +32,7 @@ Build-Depends: cmake,
rapidjson-dev,
systemtap-sdt-dev,
uuid-dev,
xaiefal,
Standards-Version: 4.5.0

Package: xrt
Expand Down
4 changes: 2 additions & 2 deletions build/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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::pair<double, double>value {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
Expand Down

0 comments on commit ca69494

Please sign in to comment.