Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

conditionally include __declspec to function definition to fix Window… #1584

Closed
wants to merge 1 commit into from
Closed

Conversation

erip
Copy link
Contributor

@erip erip commented Jan 5, 2020

…s DLL exports.

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
  • Did you read the contributor guideline?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Fixes #292

☝️ technically this issue should remain open

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

👍

@myleott
Copy link
Contributor

myleott commented Jan 6, 2020

I don't have easy access to a Windows machine to test this, but it doesn't break anything on my local unix machine, so why not :) Thanks for the fix, I'll push a new release once this is merged.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@myleott is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit that referenced this pull request Jan 6, 2020
#1584)

Summary:
…s DLL exports.

# Before submitting

- [x] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
- [x] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/master/CONTRIBUTING.md)?
- [x] Did you make sure to update the docs?
- [x] Did you write any new necessary tests?

## What does this PR do?
Fixes #292

☝️ technically this issue should remain open

## PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

## Did you have fun?
👍
Pull Request resolved: #1584

Differential Revision: D19289792

Pulled By: myleott

fbshipit-source-id: 96af49e2ed808dde3f682906bc2d6e074b522c39
@erip
Copy link
Contributor Author

erip commented Jan 6, 2020

@myleott thanks! I tested it both on my local copy and on a fresh VM, so I'm cautiously optimistic it works. 😄 looking forward to either 0.9.1 or 0.10.0!

@erip erip deleted the fix/windows-libbleu branch January 6, 2020 20:25
moussaKam pushed a commit to moussaKam/language-adaptive-pretraining that referenced this pull request Sep 29, 2020
facebookresearch#1584)

Summary:
…s DLL exports.

# Before submitting

- [x] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
- [x] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/master/CONTRIBUTING.md)?
- [x] Did you make sure to update the docs?
- [x] Did you write any new necessary tests?

## What does this PR do?
Fixes facebookresearch#292

☝️ technically this issue should remain open

## PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

## Did you have fun?
👍
Pull Request resolved: facebookresearch#1584

Differential Revision: D19289792

Pulled By: myleott

fbshipit-source-id: 96af49e2ed808dde3f682906bc2d6e074b522c39
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

on windows, functions of libbleu are not found
3 participants