Ben Noordhuis
30b29d8f87
build: disable -fstrict-aliasing if gcc < 4.6.0
A compiler bug in older versions of gcc makes it do unsafe optimizations at -O1
and higher. This manifested itself with (at least) gcc 4.5.2 on SmartOS because
it made V8 hang in a busy loop.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45883
13 years ago
Ben Noordhuis
0613af0a20
build: remove --shared-cares configure switch
c-ares is a) bundled with libuv now, and b) contains out-of-tree patches. It no
longer makes sense to link against a shared library.
Fixes #2117 .
13 years ago
Shigeki Ohtsu
82ad1f87fa
Fix #2830 for the old gcc bug on SmartOS
13 years ago
T.C. Hollingsworth
d03b8487c6
build: support shared zlib
13 years ago
isaacs
59ecf2ccf7
Revert "Revert "build: support shared V8 properly""
This reverts commit a9130222bd
.
13 years ago
isaacs
a9130222bd
Revert "build: support shared V8 properly"
This reverts commit 3d1b670640
.
Breaks build on windows.
https://gist.github.com/1895279
13 years ago
Shigeki Ohtsu
680d75af34
build: make default_configuration consistent with BUILDTYPE
13 years ago
T.C. Hollingsworth
3d1b670640
build: support shared V8 properly
-don't pull in bundled v8 as a dependency when node_shared_v8==true
-use node_shared_v8_includes for v8.h and v8-debug.h
13 years ago
Nathan Rajlich
19133cac02
build: better host_arch() definition in configure
On one of my OS X Lion machines, it always reports i386, even though 64-bit
is supported. This lookup better matches how WAF determines the host arch,
which was correctly getting 64-bit even on this screwy machine.
13 years ago
Nathan Rajlich
028043dd02
build: map i686 to ia32
13 years ago
Nathan Rajlich
af4a96ce6e
build: test `uname -m` first, then `uname -p`
Prevent false i386 on 64-bit OS X.
13 years ago
Karl Skomski
09ccbef3bb
build: detect host_arch better
13 years ago
Ben Noordhuis
74a8215a86
Revert support for isolates.
It was decided that the performance benefits that isolates offer (faster spin-up
times for worker processes, faster inter-worker communication, possibly a lower
memory footprint) are not actual bottlenecks for most people and do not outweigh
the potential stability issues and intrusive changes to the code base that
first-class support for isolates requires.
Hence, this commit backs out all isolates-related changes.
Good bye, isolates. We hardly knew ye.
13 years ago
Ben Noordhuis
ad42a82df5
build: remove node_debug from config.gypi
13 years ago
Ben Noordhuis
e493b29598
build: respect --debug configure switch
13 years ago
Fedor Indutny
6e76a7cb45
installer: install node-waf
* added --without-waf flag for configure script
13 years ago
Ben Noordhuis
93465d3051
build: support --dest-cpu configure switch again
13 years ago
Ben Noordhuis
472a72d27f
build: honour the PYTHON environment variable
Overrides the path to the python binary. Defaults to `python`.
13 years ago
Ben Noordhuis
b3d4938e3e
build: add --without-isolates configure switch
13 years ago
Ben Noordhuis
39e2c469db
build: add --without-isolates configure switch
13 years ago
Ryan Dahl
624f70e88f
GYP: rename options.gypi to config.gypi
Sounds more familiar to unix users used to config.h
13 years ago
jbergstroem
45605c9b39
gyp: switch json for pprint when generating config
13 years ago
Fedor Indutny
a9f2c4aa30
--without-npm option
Fixes #2353 .
13 years ago
Ryan Dahl
e61de70c96
gyp: use built-in openssl by default
13 years ago
Ben Noordhuis
a033261f39
build: DRY configure script
13 years ago
Ryan Dahl
48d21dd541
Force makefile generation in gyp
13 years ago
Ben Noordhuis
b9e1bb3d92
build: auto-run tools/gyp_node after ./configure
13 years ago
Ryan Dahl
14b04b06b4
Remove SCONS deprecate WAF
We keep around WAF for node-waf only.
We need great diligence by people over the next couple weeks to work out all
the kinks in the GYP build system. We realize that it is currently several
times slower than the WAF build. Please lend a hand.
Fixes #1504
Fixes #1500
13 years ago
Ben Noordhuis
790f13df9c
Fix typo in configure script
13 years ago
Ryan Dahl
9e5cd012e2
Revert "Unify configure scripts"
This reverts commit 71435ede81
.
13 years ago
Ryan Dahl
71435ede81
Unify configure scripts
13 years ago
Ryan Dahl
03b5831f90
Bring back old Makefile and configure script
GYP and WAF need to live in parallel for some time.
13 years ago
Ryan Dahl
f57d70d3c9
sketch out configure support
13 years ago
Ryan Dahl
97c9745063
Back to WAF
Too much instability right now. Hopefully we can revisit autoconf soon.
14 years ago
Ryan Dahl
ccdd979a69
Changes to compile on solaris
14 years ago
Ryan Dahl
5175864c0e
exec instead of sh a the configure.real script
14 years ago
Ryan Dahl
43022eabf7
more configure hackery
14 years ago
Ryan Dahl
5cf4ceff59
add configure
14 years ago
Ryan Dahl
15594eaf87
Replace WAF with make/autoconf
14 years ago
Ryan Dahl
f7ff548dd0
Quote variables in configure script
15 years ago
Ryan Dahl
90ab0794df
Use --jobs=1 with WAF
Some people were reporting waf erroring with
thread.error: can't start new thread
this seems to fix that problem.
15 years ago
Jan Lehnardt
9c1034b183
detect ccache and bail out since v8 doens't like to build with ccache
15 years ago
Ryan Dahl
861f28f37a
Don't unnecessarily output the makefile from the configure script.
15 years ago
Ryan Dahl
84d2966377
Use waf-light instead of waf
This way there won't be strange tools/.waf-12343 directories hanging about.
All that waf needs to run is inside the tools/wafadmin directory.
15 years ago
Ryan
d851bf9a66
Revert "Add xsl files to doc directory so people can build docs easily"
This reverts commit 412b4636c8
.
15 years ago
Ryan
412b4636c8
Add xsl files to doc directory so people can build docs easily
15 years ago
Ryan
68dda0a7d8
Man page generation.
15 years ago
Ryan
b5a1585470
Restyle website/api.html. Now looks like the front page.
Made a few other little corrections too.
15 years ago
Ryan
22e85cbc0b
Fix 'make test-debug'
16 years ago
Ryan
05d6319fa0
Add benchmark scripts.
To use the benchmarks:
node benchmarks/run.js
or:
make benchmark
The numbers reported are the elapsed milliseconds the script took to
complete. Currently only benching HTTP code and timers.
16 years ago