Created
March 18, 2013 16:10
-
-
Save pietern/5188355 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bundle exec rake compile | |
mkdir -p tmp/x86_64-darwin12.2.0/hiredis_ext/2.0.0 | |
cd tmp/x86_64-darwin12.2.0/hiredis_ext/2.0.0 | |
/Users/pieter/.rbenv/versions/2.0.0-p0/bin/ruby -I. ../../../../ext/hiredis_ext/extconf.rb | |
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c | |
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c | |
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c | |
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c | |
ar rcs libhiredis.a net.o hiredis.o sds.o async.o | |
creating Makefile | |
cd - | |
cd tmp/x86_64-darwin12.2.0/hiredis_ext/2.0.0 | |
make | |
compiling ../../../../ext/hiredis_ext/connection.c | |
../../../../ext/hiredis_ext/connection.c:88:9: warning: 'rb_thread_select' is deprecated [-Wdeprecated-declarations] | |
if (rb_thread_select(fd + 1, &fds, NULL, NULL, toptr) < 0) { | |
^ | |
/Users/pieter/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/ruby/intern.h:407:16: note: 'rb_thread_select' declared here | |
DEPRECATED(int rb_thread_select(int, fd_set *, fd_set *, fd_set *, struct timeval *)); | |
^ | |
/Users/pieter/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/x86_64-darwin12.2.0/ruby/config.h:67:52: note: expanded from macro 'DEPRECATED' | |
#define DEPRECATED(x) __attribute__ ((deprecated)) x | |
^ | |
../../../../ext/hiredis_ext/connection.c:112:9: warning: 'rb_thread_select' is deprecated [-Wdeprecated-declarations] | |
if (rb_thread_select(fd + 1, NULL, &fds, NULL, toptr) < 0) { | |
^ | |
/Users/pieter/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/ruby/intern.h:407:16: note: 'rb_thread_select' declared here | |
DEPRECATED(int rb_thread_select(int, fd_set *, fd_set *, fd_set *, struct timeval *)); | |
^ | |
/Users/pieter/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/x86_64-darwin12.2.0/ruby/config.h:67:52: note: expanded from macro 'DEPRECATED' | |
#define DEPRECATED(x) __attribute__ ((deprecated)) x | |
^ | |
2 warnings generated. | |
compiling ../../../../ext/hiredis_ext/hiredis_ext.c | |
compiling ../../../../ext/hiredis_ext/reader.c | |
linking shared-object hiredis/ext/hiredis_ext.bundle | |
cd - | |
install -c tmp/x86_64-darwin12.2.0/hiredis_ext/2.0.0/hiredis_ext.bundle lib/hiredis/ext/hiredis_ext.bundle | |
Pieters-MBP-VMware:hiredis-rb pieter$ bundle exec rake test | |
/Users/pieter/.rbenv/versions/2.0.0-p0/bin/ruby -I"lib" -I"/Users/pieter/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-0.9.2.2/lib" "/Users/pieter/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/**/*_test.rb" | |
Run options: | |
# Running tests: | |
Finished tests in 5.504276s, 13.0807 tests/s, 17.0776 assertions/s. | |
72 tests, 94 assertions, 0 failures, 0 errors, 0 skips | |
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment