-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Fix passing CC
to maketest.py
when CC
has arguments.
#27938
Conversation
For example, I configure with CC="ccache /usr/lib/icecc/bin/gcc".
(rust_highfive has picked a reviewer for you, use r? to override) |
⌛ Testing commit c443b27 with merge 5022263... |
💔 Test failed - auto-win-msvc-64-opt |
c443b27
to
8ac323f
Compare
Fixed. |
@bors: r+ 8ac323f589d9c1c346b0945868d675b4fb540c29 |
⌛ Testing commit 8ac323f with merge f9fba9b... |
💔 Test failed - auto-win-msvc-64-opt |
I could be wrong, but I think the windows builds have been silently ignoring the |
Also, on hosts using the MSVC compiler, Edit: grammars. |
8ac323f
to
2e85f0e
Compare
Can you open an issue for the ignored tests on MSVC? It's fine to point them all to the same issue. |
2e85f0e
to
09210f0
Compare
@alexcrichton Done |
@bors: r+ 09210f0b6e12c7459e4857e5c654049d1756ef73 |
⌛ Testing commit 09210f0 with merge 5ec686d... |
💔 Test failed - auto-win-msvc-64-opt |
09210f0
to
5e322bf
Compare
@alexcrichton I believe I got the rest of the tests referencing |
For example, I configure with CC="ccache /usr/lib/icecc/bin/gcc".
Fixed. |
193bb53
to
0892aeb
Compare
Ok, I was a little uncomfortable with the level of spray of "if MSVC don't do this" and at this point it's just easier to fix everything. I've tested alexcrichton@ca1c2a3 and it passes for me locally on MSVC, and I believe it shouldn't affect other platforms so can you include that into this PR? |
4ea628e
to
901412e
Compare
That's great, thanks (I didn't really have the time to figure this stuff out myself)! I've merged your changes. |
@@ -1,5 +1,10 @@ | |||
-include ../tools.mk | |||
|
|||
ifdef IS_MSVC | |||
# FIXME #27979 | |||
all: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm I think I fixed this one on my branch? Perhaps a bad merge?
rmake: Get all tests passing on MSVC (thanks Alex!). For example, I configure with CC="ccache /usr/lib/icecc/bin/gcc".
901412e
to
43cc6d4
Compare
Fixed. |
⌛ Testing commit 43cc6d4 with merge 0a4ee56... |
💔 Test failed - auto-win-msvc-64-opt |
|
||
ifdef IS_MSVC | ||
%.dll: lib%.o | ||
$(CC) $< -link -dll -out:$@ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah it looks like this needs the same cygpath -w
treatment as some above flags, wheeeee
Continuing in #28421 |
For example, I configure with CC="ccache /usr/lib/icecc/bin/gcc".