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

[Backport] Do not apply patches if sub non-git repo is located in a git repo. #542

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

haonanya
Copy link
Contributor

@haonanya haonanya commented Jul 3, 2024

[Backport] Do not apply patches if repo is a not a git repo. #539
[Backport] Do not apply patches if sub non-git repo is located in a git repo. #545
Also add an option to control patch apply which is default on. Pass -DAPPLY_PATCHES=OFF will skip patch apply process.
Update LLVM_BASE_REVISION.

OUTPUT_QUIET
)
if(patches_needed) # The target branch doesn't exist
if(patches_needed EQUAL 128) # not a git repo
message(STATUS "[OPENCL-CLANG] ${repo_dir} is not a git repository")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sync message with 140 branch?

Copy link
Contributor

@wenju-he wenju-he left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@haonanya haonanya changed the title Do not apply patches if repo is a not a git repo. [Backport] Do not apply patches if sub non-git repo is located in a git repo. Aug 26, 2024
@haonanya haonanya merged commit a923990 into intel:ocl-open-170 Aug 26, 2024
1 check passed
@haonanya haonanya deleted the fix-git-return-170 branch August 26, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants