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

Use nasmlink genrule #42266

Merged
merged 1 commit into from
Aug 25, 2020
Merged

Conversation

Flamefire
Copy link
Contributor

@Flamefire Flamefire commented Aug 12, 2020

Avoids cyclic dependency as the name and src must not be the same. This uses the same mechanism as done by cython

Fixes #42264 (see that for more details), TLDR is:

Currently the build file sets the name and src to "nasm" which is forbidden: https://docs.bazel.build/versions/master/be/shell.html

do not give the rule and the file the same name.

This PR fixes that by using an intermediate rule with a different name

Avoids cyclic dependency as the name and src must not be the same
@google-ml-butler google-ml-butler bot added the size:XS CL Change Size: Extra Small label Aug 12, 2020
@rthadur rthadur added this to Assigned Reviewer in PR Queue via automation Aug 12, 2020
@rthadur rthadur requested a review from bmzhao August 12, 2020 16:47
@gbaned gbaned added the awaiting review Pull request awaiting review label Aug 18, 2020
@perfinion perfinion self-requested a review August 21, 2020 19:38
@perfinion perfinion added the kokoro:force-run Tests on submitted change label Aug 21, 2020
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Aug 21, 2020
@google-ml-butler google-ml-butler bot added the ready to pull PR ready for merge process label Aug 21, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Aug 21, 2020
@google-ml-butler google-ml-butler bot added the kokoro:force-run Tests on submitted change label Aug 21, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Aug 21, 2020
@gbaned gbaned added ready to pull PR ready for merge process and removed awaiting review Pull request awaiting review ready to pull PR ready for merge process labels Aug 22, 2020
@tensorflow-copybara tensorflow-copybara merged commit 125fc88 into tensorflow:master Aug 25, 2020
PR Queue automation moved this from Approved by Reviewer to Merged Aug 25, 2020
@Flamefire Flamefire deleted the fix_system_nasm branch August 27, 2020 09:42
jaimergp added a commit to goanpeca/staged-recipes that referenced this pull request Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes ready to pull PR ready for merge process size:XS CL Change Size: Extra Small
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

Using system NASM results in "cycle in dependency graph" error
7 participants