aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2015-08-23node: rename from io.js to nodecjihrig
This commit replaces instances of io.js with Node.js, based on the recent convergence. There are some remaining instances of io.js, related to build and the installer. Fixes: https://github.com/nodejs/node/issues/2361 PR-URL: https://github.com/nodejs/node/pull/2367 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com>
2015-08-18test: lint addon testsBen Noordhuis
Add files in test/addon to the `make cpplint` rule and fix up existing style issues. Tests scraped from doc/api/addon.md are filtered out because those are predominantly for illustrative purposes. PR-URL: https://github.com/nodejs/node/pull/2427 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-08-13build: intl: converge from joyent/nodeSteven R. Loomis
* turn on small-icu by default for builds (Makefile+Windows) * add license info from ICU http://source.icu-project.org/repos/icu/icu/trunk/license.html All text pasted. Long lines wrapped. (original is HTML.) Port from joyent/node of: * https://github.com/nodejs/node/issues/26 * port of joyent/node 67f87a743dee4951374dd240c25e31cd507e6c5f * https://github.com/joyent/node/pull/9038 * Merge from joyent/node 70d04e7f35667381aa6e9d76f56ea962c019d5bc * Merge from joyent/node 6168fe6720650052728f3e78a495b723f0b41ce3 * merge from joyent/node e67073256d847be085be7049cd1d6ebd8d86ac62 PR-URL: https://github.com/nodejs/node/pull/2264 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Fixes: https://github.com/nodejs/node/issues/238
2015-08-04build: first set of updates to enable PPC supportMichael Dawson
These are the core changes that allow pLinux BE/LE compile. They don't include all of the changes needed for AIX which will follow once we have pLinux up and running in the builds PR-URL: https://github.com/nodejs/io.js/pull/2124 Reviewed-By: Ben Noordhuis <ben@strongloop.com> Reviewed-By: Johan Bergstrom <bugs@bergstroem.nu>
2015-08-04src: introduce process.release objectRod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/2154 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-07-24tools: use local or specified $NODE for test-npmJeremiah Senkpiel
PR-URL: https://github.com/nodejs/io.js/pull/1984 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Roman Reiss <me@silverwind.io>
2015-07-15build: always use prefix=/ for tar-headersRod Vagg
Defaults to /usr/local otherwise, which isn't helpful for node-gyp, nor standard assumptions about how header directories should be structured. PR-URL: https://github.com/nodejs/io.js/pull/2082 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
2015-07-10build: run-ci makefile ruleAlexis Campailla
Adding a single rule to be called from Jenkins. Jenkins jobs typically call: python ./configure make -j $(getconf _NPROCESSORS_ONLN) make test-ci After this change, we can have Jenkins call: make run-ci -j $(getconf _NPROCESSORS_ONLN) This allows us to customize how we call configure for different repos or branches (e.g. joyent\node). PR-URL: https://github.com/nodejs/io.js/pull/2134 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2015-06-25build: add tar-headers target for headers-only tarRod Vagg
to replace the full src download by node-gyp, using the proper format instead of the full source format PR-URL: https://github.com/nodejs/io.js/pull/1975 Reviewed-By: William Blankenship <william.jblankenship@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
2015-06-25build: update build targets for io.jsRod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/1938 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
2015-06-15build: don't run lint from test-ciJohan Bergström
Since we will run linting before compiling or testing there's no need to run it as part of the ci testing. PR-URL: https://github.com/nodejs/io.js/pull/1965 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Revewied-By: Evan Lucas <evanlucas@me.com>
2015-06-15build: simplify execution of built binaryJohan Bergström
Since we aleady have a variable with path to the newly built binary, use that instead of prefixing path. This also allows us to pass a different path through the environment (NODE=) PR-URL: https://github.com/nodejs/io.js/pull/1955 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rod Vagg <rod@vagg.org>
2015-06-11tools: enable/add additional eslint rulesRoman Reiss
Enables the following rules: - no-undef: Valuable rule to error on usage of undefined variables - require-buffer: Custom rule that forbids usage of the global Buffer inside lib/ because of REPL issues. PR-URL: https://github.com/nodejs/io.js/pull/1794 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-05-19test: enable linting for testsRoman Reiss
Enable linting for the test directory. A number of changes was made so all tests conform the current rules used by lib and src directories. The only exception for tests is that unreachable (dead) code is allowed. test-fs-non-number-arguments-throw had to be excluded from the changes because of a weird issue on Windows CI. PR-URL: https://github.com/nodejs/io.js/pull/1721 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-05-12tools: make eslint work on subdirectoriesRoman Reiss
The old pattern didn't include files in lib/internal. This changes the pattern to directories which makes eslint apply to all subdirectories as well. PR-URL: https://github.com/iojs/io.js/pull/1686 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
2015-05-12tools: refactor `make test-npm` into test-npm.shJeremiah Senkpiel
Extracts test-npm from Makefile and puts it in tools/test-npm.sh Also improves test-npm to use a separate copy of deps/npm for testing. PR-URL: https://github.com/iojs/io.js/pull/1662 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Evan Lucas <evanlucas@me.com>
2015-05-09tools: replace closure-linter with eslintYosuke Furukawa
PR-URL: https://github.com/iojs/io.js/pull/1539 Fixes: https://github.com/iojs/io.js/issues/1253 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
2015-04-28build: remove -J from test-ciRod Vagg
parallel tests still not working on most build slaves PR-URL: https://github.com/iojs/io.js/pull/1544 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
2015-04-27test: adjust Makefile/test-ci, add to vcbuild.batRod Vagg
PR-URL: https://github.com/iojs/io.js/pull/1530 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
2015-04-15build: Expose xz compression levelJohan Bergström
On machines with limited resources a fair tradeoff could be trading result size with less memory and cpu consumption. Expose a variable that overrides the default (9). Note: xz is often used to gain maximum possible compression, so avoid lowering this if possible. PR-URL: https://github.com/iojs/io.js/pull/1428 Reviewed-By: Rod Vagg <rod@vagg.org>
2015-04-14build: fix RELEASE checkRod Vagg
fixes broken 1.7.0 build, unreviewed quick patch Ref: https://github.com/iojs/io.js/pull/1405 PR-URL: https://github.com/iojs/io.js/pull/1421
2015-04-13build: Simplify fetching release versionJohan Bergström
PR-URL: https://github.com/iojs/io.js/pull/1405 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rod Vagg <rod@vagg.org>
2015-04-01deps: check in gtest, add util unit testBen Noordhuis
Check in a gypified gtest and add a simple unit test to show that the basic infrastructure is in place. PR-URL: https://github.com/iojs/io.js/pull/1199 Refs: https://github.com/iojs/io.js/issues/1193 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
2015-03-20build: make check aliases testJohan Bergström
A common convention in auto* is to call make check rather than make test. Let one alias the other PR-URL: https://github.com/iojs/io.js/pull/1211 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-03-16make: remove node_dtrace from cpplint excludesJulien Gilli
PR-URL: https://github.com/joyent/node/pull/8741 Reviewed-By: Fedor Indutny <fedor@indutny.com>
2015-03-16build: allow custom PackageMaker pathJulien Gilli
Make PACKAGEMAKER customizable because PackageMaker is not necessarily installed in /Developer on OSX anymore. PR-URL: https://github.com/joyent/node/pull/9377 Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
2015-03-04benchmark: check for wrk ahead of running benchmarksJohan Bergström
PR-URL: https://github.com/iojs/io.js/pull/982 Reviewed-By: Rod Vagg <rod@vagg.org>
2015-03-04build: remove tools/wrk from the treeJohan Bergström
wrk is an optional tool that some of the http benchmarks uses. The removal doesn't affect any users. Developers are assumed to install it before running the tests. This change reduces the tarball by 5% PR-URL: https://github.com/iojs/io.js/pull/982 Reviewed-By: Rod Vagg <rod@vagg.org>
2015-02-27build: reduce tarball size by 8-10%Johan Bergström
Slim the tarballs further by removing examples, documentation and test for third party libraries. Also switch to checkout-index versus archive so we avoid using tar. PR-URL: https://github.com/iojs/io.js/pull/961 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rod Vagg <rod@vagg.org>
2015-02-24build: Fix incorrect referenceJohan Bergström
PR-URL: https://github.com/iojs/io.js/pull/924 Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By: Rod Vagg <rod@vagg.org>
2015-02-24build: make test-ci output TAP to stdout and logRod Vagg
Closes: #810 PR-URL: https://github.com/iojs/io.js/pull/938 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-02-09tracing: add lttng support for tracing on linuxGlen Keane
This commit adds the ability to enable userspace tracing with lttng in io.js. It adds tracepoints for all the equivalent dtrace and ETW tracepoints. To use these tracepoints enable --with-lttng on linux. PR-URL: https://github.com/iojs/io.js/pull/702 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ryan Graham <ryan@strongloop.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
2015-02-04tools: add release tool and docs, remove old toolsRod Vagg
Also added binary download documentation to the README.md and GPG release key fingerprint for @rvagg. PR-URL: https://github.com/iojs/io.js/pull/681 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Fedor Indutny <fedor@indutny.com>
2015-01-28benchmark: add bench-(url & events) make targetsYosuke Furukawa
PR-URL: https://github.com/iojs/io.js/pull/584 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-27build: remove artefacts on distcleanJohan Bergström
since .pkg-files already lives in out/ they're already gone. instead of moving artefacts into out/ (which might mess with upload scripts), delete their current location. PR-URL: https://github.com/iojs/io.js/pull/323 Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-27build: disable v8 snapshotsBen Noordhuis
Snapshots speed up start-up by a few milliseconds but are potentially dangerous because of the fixed hash seed that is used for strings and dictionaries, making collision denial-of-service attacks possible. Release builds on iojs.org have snapshots disabled but source builds did not, until now. The risk for individual source builds is low; the binary gets a random 32 bits hash seed that should be hard to guess by an external attacker. It's when binaries are distributed by, for example, a distro vendor that the fixed hash seed becomes a vulnerability, because then it's possible to target a large group of people at once. People that really need the faster start-up time can use the new --with-snapshot configure flag. PR-URL: https://github.com/iojs/io.js/pull/585 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-17configure: remove --ninja switchBen Noordhuis
It is unknown if there are any users of the ninja build and keeping it around makes refactoring the build system more difficult. It's partly broken (or at least, deeply inefficient) because it touches out/Makefile every time. PR-URL: https://github.com/iojs/io.js/pull/467 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-16build: add tools/gflags to PYTHONPATHShigeki Ohtsu
closure_linter needs the gflags module. PR-URL: https://github.com/iojs/io.js/pull/464 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-01-16build: add new installer config for OS XRod Vagg
Works with PackageMaker (old tool, discontinued but still available for download from Apple). index.xml is now templated to insert the version number. PR-URL: https://github.com/iojs/io.js/pull/435 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
2015-01-15doc: fix 404s for syntax highlighting jsPhil Hughes
Updated Makefile to remove special casing for those files, and moved the files to doc/api_assets. Fixes: https://github.com/iojs/iojs.github.io/issues/51 PR-URL: https://github.com/iojs/io.js/pull/409 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
2015-01-14build: rename ChangeLog to CHANGELOG.md in buildRod Vagg
This only matters for the Makefile tarball target as we aren't auto-building changelog.html at the moment so the changes in tools/ are for completeness, but not functional with the Markdown CHANGELOG.md. PR-URL: https://github.com/iojs/io.js/pull/357 no review
2015-01-13build: initialize variable before useJohan Bergström
found with make --warn-undefined-variables PR-URL: https://github.com/iojs/io.js/pull/320 Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-13build: create smaller build artifactsJohan Bergström
check if xz exists on the host system and use if available, which makes xz-tarballs available for distribution. also remove deps/zlib/contrib since it's not in use -- shaves additional size from the tarballs. also, slightly modify the .gitignore file to ignore these new archives. PR-URL: https://github.com/iojs/io.js/pull/319 Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-13test: create test-ci, modify test-all, fix cpplintBen Noordhuis
test: add test/addons to default test list `make test-all` and `python tools/test.py` will now also run the addon tests in test/addons. test: remove test-npm from test-all make target The test-npm target builds documentation, changes versioned files, clutters the current working directory with artifacts, etc. In short, it doesn't seem quite ready for inclusion in `make test-all`. test: add test-ci target, reduced test-all Add a test-ci target that is like test-all minus the (slow) pummel and gc test suites. This is primarily intended for the continuous integration, where we want decent coverage but don't want to wait for ages for tests to complete. cpplint: add -license/copyright to default filters Commit 3e1b1dd ("Remove excessive copyright/license boilerplate") trips up the copyright boilerplate style check. Disable it. PR-URL: https://github.com/iojs/io.js/pull/314 Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-13deps: don't build docs on 'make npm-test'Forrest L Norvell
PR-URL: https://github.com/iojs/io.js/pull/318 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-01-11doc: remove changelog.html from doc make targetRod Vagg
not essential for doc build and currently broken because tools/build_changelog.sh requires ./node. leaving as separate make target so it can be invoked separately in future. PR-URL: https://github.com/iojs/io.js/pull/285 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-01-08build: rename binary from node to iojsBen Noordhuis
* rename the build targets * update the test runner to use `out/{Debug,Release}/iojs` * update the installer to install the iojs binary * update one test that explicitly checks for the binary name PR-URL: https://github.com/iojs/io.js/pull/262 Reviewed-By: Bert Belder <bertbelder@gmail.com>
2015-01-08test: remove --use-http1 test runner flagBen Noordhuis
The flag was used for a short while during the v0.5 development cycle, four years ago. Remove it, it's long overdue. PR-URL: https://github.com/iojs/io.js/pull/262 Reviewed-By: Bert Belder <bertbelder@gmail.com>
2015-01-08doc: rename node.1 -> iojs.1Ben Noordhuis
PR-URL: https://github.com/iojs/io.js/pull/262 Reviewed-By: Bert Belder <bertbelder@gmail.com>
2015-01-08build: remove upload targets from makefileBen Noordhuis
The targets upload to nodejs.org but that is the joyent/node website. PR-URL: https://github.com/iojs/io.js/pull/262 Reviewed-By: Bert Belder <bertbelder@gmail.com>