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
issue 18515: Fix it so that neither g++ nor CC is required. #7949
Conversation
It was previously fixed so that cc is used if CC isn't set when compiling dmd, but the test suite still had g++ hardcoded, so if the system was set up with clang and not gcc, the dmd test suite barfed midway through. This fixes it so that it uses c++ if CC isn't set instead of using g++.
I don't understand the Win32 failure, since it's not code I touched, and the errors don't seem to match anything on the lines in question. So, I rebased on the latest master in case that would fix it. |
Well, that didn't fix the Windows failures, and the Windows failures make no sense whatsoever
None of those lines have those characters. |
It is. The testsuite is run on Windows too ;-) |
g++ isn't either, and the switch statement in question has lines for win32 and win64, so the c++ line shouldn't even be hit on Windows. Regardless, the failure is a compilation failure, not a runtime one. So, the value of a string that isn't being mixed in should be irrelevant. |
Sorry I wrote my last message to fast. The errors are due to auto-tester's patching: https://github.com/braddr/at-client/blob/master/src/diff-dmd-win64.diff I tried to talk @braddr into stopping that (or at least including the patches into the |
It seems like we wrote at the same time, but yes - it looks like DMD is opening a file with an unresolved merge conflict... |
So, what's the fix then? |
I don't know either, here are my ideas: a) getting something like braddr/at-client#8 deployed to move away from this patching I guess we have to wait for @braddr's input. |
The simple solution would be to include @braddr's patches in the repo right? |
how about forking at-client also ?
…On Feb 24, 2018 8:12 AM, "Jonathan Marler" ***@***.***> wrote:
The simple solution would be to include @braddr
<https://github.com/braddr>'s patches in the repo right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7949 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACF9YHe5A_L8cdve7Q5vZ8HK_k_uxldkks5tYDTSgaJpZM4SR1jM>
.
|
Last time I tried this, it still resulted in a merge conflict, because the patch is still applied and patch fails to do so.
Only @braddr can deploy things to the auto-tester. @braddr I see that you added auto-merge here. Do you plan anything in particular? (the tests are still failing due to the merge conflict) |
Giving it tester priority. Without it the tester stops on first failure until it has nothing else better to test. Assuming it passes correctly, I'll pull and update the tester patches to apply correctly. Yes, those are a problem area, no right this moment isn't the right time to address them. |
Ok, it's passed on all posix platforms, so merging. Somewhat wreckless, but I'm pretty confident it's ok. |
Thanks a lot for the swift action!
Is there ever a right moment? ;-) |
It was previously fixed so that cc is used if CC isn't set when
compiling dmd, but the test suite still had g++ hardcoded, so if the
system was set up with clang and not gcc, the dmd test suite barfed
midway through. This fixes it so that it uses c++ if CC isn't set
instead of using g++.
I don't know if this will fix the problem that Brad is having with the 32-bit FreeBSD auto-tester that's forcing him to set CC, but it does fix it so that my 64-bit FreeBSD system can run the dmd test suite without g++.