Skip to content

Don't build the extension on Windows#162

Merged
tarcieri merged 1 commit intosocketry:masterfrom
larskanis:dont-build-ext-on-windows
Aug 2, 2017
Merged

Don't build the extension on Windows#162
tarcieri merged 1 commit intosocketry:masterfrom
larskanis:dont-build-ext-on-windows

Conversation

@larskanis
Copy link
Copy Markdown
Contributor

The extension can be build on Windows but it doesn't work. All connection related tests fail. So it's a waste of time to build the extension, which isn't used.

This also removes the patching of the makefile, because it isn't necessary on any recent ruby version, but breaks the extension, so that it can't be loaded by ruby. So this should be removed anyway.

I tested this on ruby-2.2-x86 and 2.4-x64.

See also #161

The extension can be build on Windows but it doesn't work.
All connection related tests fail.
So it's a waste of time to build the extension, which isn't used.

This also removes the patching of the makefile, because it isn't
necessary on any recent ruby version, but breaks the extension,
so that it can't be loaded by ruby.
So this should be removed anyway.

I tested this on ruby-2.2-x86 and 2.4-x64.

See also socketry#161
@tarcieri
Copy link
Copy Markdown
Contributor

tarcieri commented Aug 2, 2017

@MSP-Greg think this is the way to go for now?

@larskanis larskanis mentioned this pull request Aug 2, 2017
@MSP-Greg
Copy link
Copy Markdown
Contributor

MSP-Greg commented Aug 2, 2017

@tarcieri

think this is the way to go for now?

Most of the time, and especially when dealing with C and windows/mingw, I'll always defer to @larskanis.

I haven't had time to check anything, but it seems something additional is needed if Appveyor's failing?

Also, I'm wondering about the commits by unak / usa in June. Maybe he was just patching so it would compile, but still using the 'pure-ruby' version as with a MinGW build...

I'll be back...

@larskanis larskanis force-pushed the dont-build-ext-on-windows branch from 4edab0a to 9e7b5e6 Compare August 2, 2017 18:39
@larskanis
Copy link
Copy Markdown
Contributor Author

I fixed the appveyor failure and unified the windows test in extconf.rb and nio.rb.

@tarcieri tarcieri merged commit 6eb494b into socketry:master Aug 2, 2017
@tarcieri
Copy link
Copy Markdown
Contributor

tarcieri commented Aug 2, 2017

@larskanis thanks!

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