about summary refs log tree commit homepage
path: root/local.mk.sample
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-02-06 20:09:19 +0000
committerEric Wong <e@80x24.org>2015-04-22 18:56:42 +0000
commitc3271c2eb26578316d7cecad1a2b99e1814a5fa3 (patch)
tree45bedb64a441f47c84a5b2fc478007be81480173 /local.mk.sample
parente5925e55a5365053415f08bb4cb7f810a533601d (diff)
downloadunicorn-c3271c2eb26578316d7cecad1a2b99e1814a5fa3.tar.gz
unicorn 5 will not support Ruby 1.8 anymore.

Drop mentions of Rubinius, too, it's too difficult to support due to
the proprietary and registration-required nature of its bug tracker.
The smaller memory footprint and CoW-friendly memory allocator in
mainline Ruby is a better fit for unicorn, anyways.

Since Ruby 1.9+ bundles RubyGems and gem startup is faster nowadays,
we'll just depend on that instead of not loading RubyGems.

Drop the local.mk.sample file, too, since it's way out-of-date
and probably isn't useful (I have not used it in a while).

[reinstate 1.9 version check for listener_fds in backport]
Diffstat (limited to 'local.mk.sample')
-rw-r--r--local.mk.sample59
1 files changed, 0 insertions, 59 deletions
diff --git a/local.mk.sample b/local.mk.sample
deleted file mode 100644
index 25bca5d..0000000
--- a/local.mk.sample
+++ /dev/null
@@ -1,59 +0,0 @@
-# this is the local.mk file used by Eric Wong on his dev boxes.
-# GNUmakefile will source local.mk in the top-level source tree
-# if it is present.
-#
-# This is depends on a bunch of GNU-isms from bash, sed, touch.
-
-DLEXT := so
-
-# Avoid loading rubygems to speed up tests because gmake is
-# fork+exec heavy with Ruby.
-prefix = $(HOME)
-
-# XXX clean this up
-ifeq ($(r192),)
-  ifeq ($(r19),)
-    ifeq ($(rbx),)
-      ifeq ($(r186),)
-        RUBY := $(prefix)/bin/ruby
-      else
-        prefix := $(prefix)/r186-p114
-        export PATH := $(prefix)/bin:$(PATH)
-        RUBY := $(prefix)/bin/ruby
-      endif
-    else
-      prefix := $(prefix)/rbx
-      export PATH := $(prefix)/bin:$(PATH)
-      RUBY := $(prefix)/bin/rbx
-    endif
-  else
-    prefix := $(prefix)/ruby-1.9
-    export PATH := $(prefix)/bin:$(PATH)
-    RUBY := $(prefix)/bin/ruby --disable-gems
-  endif
-else
-  prefix := $(prefix)/ruby-1.9.2
-  export PATH := $(prefix)/bin:$(PATH)
-  RUBY := $(prefix)/bin/ruby --disable-gems
-endif
-
-# pipefail is THE reason to use bash (v3+) or never revisions of ksh93
-# SHELL := /bin/bash -e -o pipefail
-SHELL := /bin/ksh93 -e -o pipefail
-
-full-test: test-18 test-191 test-192 test-rbx test-186
-
-# FIXME: keep eye on Rubinius activity and wait for fixes from upstream
-# so we don't need RBX_SKIP anymore
-test-rbx: export RBX_SKIP := 1
-test-rbx: export RUBY := $(RUBY)
-test-rbx:
-        $(MAKE) test test-integration rbx=T 2>&1 |sed -e 's!^!rbx !'
-test-186:
-        $(MAKE) test-all r186=1 2>&1 |sed 's!^!1.8.6 !'
-test-18:
-        $(MAKE) test-all 2>&1 |sed 's!^!1.8 !'
-test-191:
-        $(MAKE) test-all r19=1 2>&1 |sed 's!^!1.9.1 !'
-test-192:
-        $(MAKE) test-all r192=1 2>&1 |sed 's!^!1.9.2 !'