Sha256: e90e60c15fa1e3b86f8e7003ffb9065bfcc36d6b50ebc4e72f64c88a05a1dc7a

Contents?: true

Size: 852 Bytes

Versions: 9

Compression:

Stored size: 852 Bytes

Contents

SCONS=build/scons/install/bin/scons
SCONSSRC=build/scons
V8SRC=build/v8
LIBV8=build/v8/libv8.a
LIBV8_G=build/v8/libv8_g.a
GCC_VERSION=$(shell ruby -e 'puts %x{gcc --version} =~ /(\d)\.(\d)\.\d/ ? $$1 + $$2 : "UNKNOWN"')
ARCH=$(shell ruby detect_cpu.rb)

all: $(LIBV8)

debug: $(LIBV8_G)
	cp $(LIBV8_G) $(LIBV8)

$(LIBV8): $(SCONS) $(V8SRC)
	cd build/v8 && GCC_VERSION=$(GCC_VERSION) ../scons/install/bin/scons arch=$(ARCH)

$(LIBV8_G): $(SCONS) $(V8SRC)
	cd build/v8 && GCC_VERSION=$(GCC_VERSION) ../scons/install/bin/scons arch=$(ARCH) mode=debug

$(SCONS): $(SCONSSRC)
	mkdir -p $(SCONSSRC)/install
	python build/scons/setup.py install --prefix=install

$(V8SRC): build
	cp -r 2.3.3 build/v8
	patch -td build/v8 -i ../../fpic-on-linux-amd64.patch

$(SCONSSRC): build
	cp -r scons build

build:
	mkdir -p build

scons: $(SCONS)

clean:
	rm -rf build

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
therubyracer-0.8.1.pre2 ext/v8/upstream/Makefile
therubyracer-heroku-0.8.1.pre3 ext/v8/upstream/Makefile
therubyracer-heroku-0.8.1.pre2 ext/v8/upstream/Makefile
therubyracer-0.8.1.pre1 ext/v8/upstream/Makefile
therubyracer-0.8.0 ext/v8/upstream/Makefile
therubyracer-0.8.0.pre3 ext/v8/upstream/Makefile
therubyracer-0.8.0.pre2 ext/v8/upstream/Makefile
therubyracer-0.8.0.pre ext/v8/upstream/Makefile
therubyracer-0.7.5 ext/v8/upstream/Makefile