-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build problems? #106
Comments
Build the embeddedsw aienginev2 by running "make -f Makefile.Linux" in the embeddedsw/XilnxProcessorIPLib/drivers/aienginev2 directory. Point to the LibAIE by adding this to your cmake command line: You will want to update the mlir-aie/settings.sh to point to the above before running cmake. If "ninja check-aie" doesn't build correctly you might need to add AIETOOLS or CARDANO defines in settings.sh file to point to Vitis/202x.x/aietools or Vitis/2020.x/cardano. For VCK5000 add this to cmake command line: |
I follow your advice and found cmd
and info below
according to this info, |
I had build it successfully. And I pass test. But I do not know how to run on vck5000? And I do not find a simple running on vck5000. |
Lincense need.
|
You will need to get 2 licenses from
https://www.xilinx.com/support/licensing_solution_center.html
The AIE compiler license (AIEbuild) and the VCK5000 synthesis license
(XCVC1902.)
…On Sun, May 29, 2022 at 8:01 PM ZhenLei Xu ***@***.***> wrote:
Lincense need.
AIETOOLS=/data/soft/Xilinx/Vitis/2021.2/aietools python aiecc.py ~/work/xilinx/mlir-aie/test/unit_tests/00_itsalive/aie.mlir
AIEBuild license not found !!No such file or directory
The Program xchesscc has encountered an unexpected error exiting ... AIEBuild license not found !!No such file or directory
Error encountered while running: xchesscc_wrapper -c -d -f +f +P 4 /home/lay/work/xilinx/mlir-aie/build/bin/aiecc/../../runtime_lib/chess_intrinsic_wrapper.cpp -o acdc_project/chess_intrinsic_wrapper.ll
—
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYWKQPIKIBQETK3WWJQC7RLVMQVRHANCNFSM5XDQHY3A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
what does sysroot mean, and how to set it(on VCK5000)? Thanks. |
For VCK5000 add this to cmake command line: Adding the -DVitisSysroot=/ to the cmake invocation will have cmake use the X86 host environment for include files instead of the embedded aarch64 environment. You will also need to go into tools/aiecc/aiecc/main.py line 144 and change this: If your ninja check-aie fails due to missing files, you can patch the include path to match your local environment in the tools/aiecc/aiecc/main.py lines 149-154. You will notice that line 153 points to /opt/xaiengine/include and 154 includes the /opt/xaiengine/src/libxaiengine.so library. Either create a symbolic link called /opt/xaiengine that points to your embeddedsw/XilinxProcessorIPLib/drivers/aienginev2 or change main.py to point to it. |
Update old
but found
and I found those XAieGbl_Config type do not exist in aienginev2. Thanks. |
run with
and generate test.elf, but look test error.
|
If you pass I hope this helps! |
Yes, you are right. Thanks. But according this link, unit test do not pass. And I do not how to debug. |
@jackl-xilinx Can you look into debugging, please? |
@jackl-xilinx please? |
from this link |
I do not how to solve this problems according this link link, Thank you! |
I am not able to speak to how the mlir-aie team is approaching pcie host
support for the vck5000. I was just attempting to affirm that after a few
modifications, it was possible to run the test suite on the vck5000
hardware.
Sharing library paths using the LD_LIBRARY_PATH environment variables might
be helpful.
export LD_LIBRARY_PATH=/opt/xaiengine/src:/opt/xilinx/xrt/lib
…On Tue, Jul 12, 2022 at 10:38 PM ZhenLei Xu ***@***.***> wrote:
For VCK5000 add this to cmake command line: -DVitisSysroot=/
Adding the -DVitisSysroot=/ to the cmake invocation will have cmake use
the X86 host environment for include files instead of the embedded aarch64
environment.
You will also need to go into tools/aiecc/aiecc/main.py line 144 and
change this: cmd = ['clang','--target=aarch64-linux-gnu', '-std=c++11'] to
this: cmd = ['clang', '-std=c++11'] That will build x86_64 executables
instead of aarch64.
If your ninja check-aie fails due to missing files, you can patch the
include path to match your local environment in the
tools/aiecc/aiecc/main.py lines 149-154. You will notice that line 153
points to /opt/xaiengine/include and 154 includes the
/opt/xaiengine/src/libxaiengine.so library. Either create a symbolic link
called /opt/xaiengine that points to your
embeddedsw/XilinxProcessorIPLib/drivers/aienginev2 or change main.py to
point to it.
I do not how to solve this problems according this link link
<#124 (comment)>,
Thank you!
—
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYWKQPKMOZ3FLGTZX3NVP4TVTZI57ANCNFSM5XDQHY3A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
You are right. Thanks. |
remove placeholder filter2d
how to set the Vitis and LibXAIE config, and I had build LibXAIE with embeddedsw repo?
The text was updated successfully, but these errors were encountered: