Skip to content

Commit

Permalink
No longer cloning aie-rt in build-mlir-aie-pcie.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
eddierichter-amd committed Nov 20, 2024
1 parent ecc751c commit 80721e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions utils/build-mlir-aie-pcie.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,12 @@ set -o pipefail
set -e

# Building LIBXAIE with the VCK5000 backend
if [ -z "$LIBXAIE_DIR" ] || [ -z "$HSAKMT_DIR" ]; then
if [ -z "$LIBXAIE_DIR" ] ; then
echo "No LIBXAIE_DIR. Building aie-rt with AMDAIR backend"
git clone https://github.com/stephenneuendorffer/aie-rt
mkdir aie-rt-x86_64-hsa
mkdir aie-rt-x86_64-hsa/lib/
cp -r $(pwd)/../third_party/aie-rt/ ./
cd aie-rt
git checkout strix_2024.2
cd driver/src
make -f Makefile.Linux CFLAGS="-D__AIEAMDAIR__"
cp -r ../include ../../../aie-rt-x86_64-hsa
Expand Down

0 comments on commit 80721e7

Please sign in to comment.