Commit Graph

10 Commits

Author SHA1 Message Date
Ben Noordhuis
fdf7c2ad1d build: split off tests into separate gyp file
Make it easier for Node.js to ship libuv in its tarballs without also
including the test suite.  Node.js already does so but recent changes
to its build system complicate that.

Kills two birds with one stone: it helps out Node.js and it makes it
harder for us to introduce hidden dependencies between the library and
the test suite.

PR-URL: https://github.com/libuv/libuv/pull/1725
Refs: https://github.com/nodejs/node/pull/18287
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2018-01-27 22:59:47 +01:00
Ben Noordhuis
760556d3e7 build: remove long-obsolete gyp workarounds
Drop obsolete workarounds from the `gyp_uv.py` wrapper script.
The bugs they work around were fixed about five years ago.

PR-URL: https://github.com/libuv/libuv/pull/1725
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2018-01-27 22:59:13 +01:00
Rasmus Christian Pedersen
96da21d3f4 build: python 2.x/3.x consistent print usage
PR-URL: https://github.com/libuv/libuv/pull/723
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2016-02-15 10:03:03 +01:00
Ben Noordhuis
ca6cd35d57 build: map 'AMD64' host arch to 'x64'
Fixes: https://github.com/libuv/libuv/issues/705
PR-URL: https://github.com/libuv/libuv/pull/706
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2016-02-02 08:40:16 +01:00
Saúl Ibarra Corretgé
2a98e76b45 build: remove unused 'component' GYP option
PR-URL: https://github.com/libuv/libuv/pull/548
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-09-24 23:17:23 +02:00
Ben Noordhuis
fcb2223da8 build: remove clang and gcc_version gyp defines
The clang and gcc_version defines were used to:

1. Conditionally enable -fvisibility=hidden, a switch introduced in
   gcc 4.0.  Because 4.2 is the minimum supported version, we can
   make it unconditional.  People that want to build with older
   versions, can use '-Dvisibility='.

2. To conditionally enable -Wno-dollar-in-identifier-extension,
   an Apple extension that suppressed warnings about sigils in
   dtrace probe names.  Dtrace probes were removed in cb514002.

PR-URL: https://github.com/libuv/libuv/pull/76
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2014-12-20 23:12:07 +01:00
Saúl Ibarra Corretgé
c11a598d7c build: handle platforms without multiprocessing.synchronize 2014-07-31 10:12:58 +02:00
Fedor Indutny
7301d21e46 gyp: qualify library variable
Use prefixed variable name for better control over dependencies.
2014-02-05 21:29:25 +04:00
Ben Noordhuis
7bb7371fc5 build: make ./gyp_uv.py -f eclipse work
The eclipse backend (like the ninja backend) does not support the
--generator_output switch.
2013-11-27 17:28:03 +01:00
Geert Jansen
991409e461 build: fix windows smp build with gyp
Gyp will try a parallel build if it detect the system has >1 processor.
This functionality depends on the Python "multiprocessing" package. The
multiprocessing package on Windows requires that the top-level module is
importable as a module, see:

  http://docs.python.org/2/library/multiprocessing.html#windows

This fixes issue #984.

This is a back-port of commit 2445467 from the master branch.
2013-11-05 14:32:45 +01:00