Skip to content
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

Fail to build target with develop branch #1198

Open
ce1adon opened this issue Oct 20, 2020 · 5 comments
Open

Fail to build target with develop branch #1198

ce1adon opened this issue Oct 20, 2020 · 5 comments
Assignees
Labels
Bug Bug fix

Comments

@ce1adon
Copy link
Contributor

ce1adon commented Oct 20, 2020

I got the following issue when building with tip of the tensile branch develop@7e0f2dc5e5219d3af32a76857d4e8272e28068bf:

CMakeFiles/copy_kernels_miopentensile.dir/build.make:59: *** target pattern contains no '%'. Stop.

CMakeFiles/Makefile2:105: recipe for target 'CMakeFiles/copy_kernels_miopentensile.dir/all' failed

make[2]: *** [CMakeFiles/copy_kernels_miopentensile.dir/all] Error 2

make[2]: *** Waiting for unfinished jobs...

@ce1adon ce1adon added the Bug Bug fix label Oct 20, 2020
@ce1adon ce1adon changed the title Fail to build target with 3.10.x branch Fail to build target with develop branch Oct 20, 2020
@cgmillette
Copy link
Collaborator

@ce1adon can we get a little more context please?

Is this coming from a clean build?

If so, can you please provide the full log?

Also, which docker image are you working with? Recent changes to targetid might have upset a few things.

@ce1adon
Copy link
Contributor Author

ce1adon commented Oct 20, 2020

@cgmillette Sure, I was building in MIOpenTensile with the tip of develop@7e0f2dc5e5219d3af32a76857d4e8272e28068bf.

To replay this issue,
git clone https://github.com/ROCmSoftwarePlatform/MIOpenTensile -b develop
cd MIOpenTensile
vi CMakelists.txt

find line 74 and change the tensile tag to 7e0f2dc. Save and quit.

mkdir build
cd build
export HIPCC_LINK_FLAGS_APPEND='-O3 -parallel-jobs=4'
export HIPCC_COMPILE_FLAGS_APPEND='-O3 -Wno-format-nonliteral -parallel-jobs=4'
CXX=/opt/rocm/hip/bin/hipcc cmake ..
make -j check

Then you will observe this error.

@cgmillette
Copy link
Collaborator

This might have something to do with the targetid stuff that was checked in not too long ago. I will forward you an email about it.

@cgmillette
Copy link
Collaborator

@ce1adon does the new targetid docker base image fix the issue?

@ce1adon
Copy link
Contributor Author

ce1adon commented Oct 21, 2020

@cgmillette No, issue still there with the new docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug fix
Projects
None yet
Development

No branches or pull requests

3 participants