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

Change location of the dmd binary (druntime) #1

Merged
merged 1 commit into from
Apr 22, 2017

Conversation

andralex
Copy link
Contributor

Uses a wildcard instead of the OS name under the assumption that there's only OS directory per OS

Uses a wildcard instead of the OS name under the assumption that there's only OS directory per OS
@andralex andralex changed the title Change location of the dmd binary Change location of the dmd binary (druntime) Mar 13, 2017
@braddr
Copy link
Owner

braddr commented Mar 13, 2017

Are all branches that the auto-tester builds ready to cut over together? I'm guessing not and that there needs to be a fall back while the changes make their way through the various releases.

(ditto for the other pull)

@wilzbach
Copy link
Contributor

Are all branches that the auto-tester builds ready to cut over together? I'm guessing not and that there needs to be a fall back while the changes make their way through the various releases.

Please see the discussion at dlang/dmd#6489
Backwards compatibility is not possible for this change, but all dependencies have been updated by @https://github.com/RazvanN7 to use generated instead

@braddr
Copy link
Owner

braddr commented Mar 19, 2017

Unless I'm missing something, backwards compatibility is easy here. Check new location for binary. If it exists, use that. If it doesn't, look in the old location.

@andralex
Copy link
Contributor Author

@braddr this may be possible but testing the respective PR has a fixed cost for me, i.e. I'd need to install the unittester, learn its workings etc. Could you please take this over? Let me know, thanks!

@braddr
Copy link
Owner

braddr commented Apr 22, 2017

Looks like stable has picked up the changes since this was filed, so backwards compatibility isn't as important as it was. The DMD Yebblies will fail if not synced before it's built next, but that's almost certainly going to be the case anyway. I'll merge and get the changes deployed to a couple redundant hosts (ie, can be pulled from the fleet if it's breaking the builds) to make sure they're working correctly. If they're ok, then I'll update the rest of the fleet in a couple days.

@braddr braddr merged commit 0eb3060 into braddr:master Apr 22, 2017
@braddr
Copy link
Owner

braddr commented Apr 22, 2017

For what it's worth, I'd be happy to drop the command line setting of the DMD variable in the auto-tester, but the win32.mak and win64.mak files in both druntime and phobos would need to be updated to default to the same path structure as posix.mak uses. Currently they both default to using the shell's path to find a dmd to use, which is really not advisable in a controlled reproducible continuous testing environment.

@braddr
Copy link
Owner

braddr commented Apr 25, 2017

Damnit.. broken on windows platforms. @andralex @wilzbach

@andralex
Copy link
Contributor Author

andralex commented Jun 4, 2017

@braddr following up. Is there any lingering issue we need to look at?

@braddr
Copy link
Owner

braddr commented Jun 4, 2017

Yes, the windows layout is different than the posix layout. See also pull #3

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.

3 participants