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

allow to override dmd #184

Closed
wants to merge 1 commit into from

Conversation

MartinNowak
Copy link
Contributor

No description provided.

@Hackerpilot
Copy link
Collaborator

Looks like the CI failure is a result of the changes to linking and code generation in 2.068.

@Hackerpilot
Copy link
Collaborator

Actually this broke between 2.068 and 2.068.1.

@Hackerpilot
Copy link
Collaborator

I was able to fix it by specifying the path to std.format, but that seems like a hack:

SRC := $(shell find src -name "*.d") \
    $(shell find libdparse/src -name "*.d") \
    $(shell find libdparse/experimental_allocator/src -name "*.d") \
    /home/brian/.dvm/compilers/dmd-2.068.1/src/phobos/std/format.d

I shouldn't have to specify that Phobos files get compiled, should I?

@MartinNowak
Copy link
Contributor Author

Sorry for not letting you know, we already fixed the issue.
https://trello.com/c/ARtw7Xwl/81-reg2-068-1-linker-error-with-speculative-instantiation-and-inline
dlang/dmd#5055
Looks like we have to release a 2.068.2 soon.

@MartinNowak
Copy link
Contributor Author

What about this PR?

@Hackerpilot
Copy link
Collaborator

I ended up making a similar changes, but using the DC environment variable because that's what Travis uses.

@Hackerpilot
Copy link
Collaborator

See 480e6fe

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.

None yet

2 participants