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

nvcc: Correctly handle -ccbin argument given a directory #1735

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

robertmaynard
Copy link
Collaborator

The -ccbin argument to nvcc supports being passed either a compiler or the directory that holds the compiler.
Mark these options as PassThrough so that they are still considered as part of the hash.

@@ -1,4 +1,5 @@
// Copyright 2016 Mozilla Foundation
// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am a bit confused why you are adding this ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Due to being an NVIDIA employee I am supposed to request files I modify have an NVIDIA copyright.
If this doesn't work for the sccache team, I am happy to remove the line.

Copy link
Collaborator

Choose a reason for hiding this comment

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

not a big deal but as nobody updates these values (which are probably useless anyway), I am surprised to see such changes :)

@sylvestre sylvestre merged commit 8ce1bdc into mozilla:main Apr 26, 2023
@robertmaynard robertmaynard deleted the bug/ccbin_handle_directories branch April 28, 2023 20:29
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