[Bug 2334587] Review Request: amdmigraphx - AMD's graph optimization engine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2334587



--- Comment #7 from Jorge Nolck <jnolck@xxxxxxx> ---
I don't mean to be annoying, but I kept at this. I built rocmlir as the github
instructions point out. 

Like, just switched the /opt/rocm. 

mkdir build
cd build
cmake -G Ninja .. -DBUILD_FAT_LIBROCKCOMPILER=On -DCMAKE_BUILD_TYPE=Release
-DCMAKE_C_COMPILER=/opt/rocm/llvm/bin/clang
-DCMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/clang++
ninja

and then cmake --install . --prefix to a local directory. It looks like this 

include  lib  lib64  share

include include/rocmlir/

build  external  Miir.h  mlir  mlir-c

I did this to point your spec to that. 

rocMLIR_DIR=/home/jnolck/Downloads/software/install/ rpmbuild -bb
SPECS/amdmigraphx.spec 

and I think it works. The compilation failed though with:

/home/jnolck/rpmbuild/BUILD/amdmigraphx-6.3.1-build/AMDMIGraphX-rocm-6.3.1/src/include/migraphx/half.hpp:28:10:
fatal error: 'half/half.hpp' file not found
   28 | #include <half/half.hpp>
      |          ^~~~~~~~~~~~~~~
1 error generated.

I do have half installed, but it's in /include/half.hpp instead of
include/half/half.hpp where that wants it. 

Created a sym link to that. Tried to build, tons of warnings, build failed.
Ugh. I'm way over my head here.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2334587

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202334587%23c7

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux