summaryrefslogtreecommitdiff
path: root/vcbuild.bat
AgeCommit message (Collapse)AuthorFilesLines
2015-05-19test: enable linting for testsRoman Reiss1-1/+1
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-15build: use backslashes for paths on windowsJohan Bergström1-3/+3
PR-URL: https://github.com/iojs/io.js/pull/1698 Reviewed-By: Yosuke Furukawa <furukawa.yosuke@dena.jp> Reviewed-By: Roman Reiss <me@silverwind.io>
2015-05-13tools: remove closure_linter to eslint on windowsYosuke Furukawa1-2/+1
PR-URL: https://github.com/iojs/io.js/pull/1685 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Roman Reiss <me@silverwind.io>
2015-05-11build: re-enable V8 snapshotsTrevor Norris1-3/+3
Snapshots had been previously disabled because of a security vunerability. This has been fixed (ref: https://github.com/iojs/io.js/issues/1631#issuecomment-100101375) Also, re-enable snapshots for ARMv6 builds. There were previous build issues that have been fixed. Fixes: https://github.com/iojs/io.js/issues/1631 PR-URL: https://github.com/iojs/io.js/pull/1663 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-04-28build: remove -J from test-ciRod Vagg1-1/+1
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 Vagg1-0/+1
PR-URL: https://github.com/iojs/io.js/pull/1530 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
2015-04-20Revert "build: use %PYTHON% instead of python"Rod Vagg1-6/+4
This reverts commit 91943a99d534e67f6b7a7a3be45206afdb3fbf75. Old commit cherry-picked in but found to cause problems with .msi creation on Windows. Original change is mostly pointless because V8 hard-wires `python` anyway. PR-URL: https://github.com/iojs/io.js/pull/1475 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-04-16build: use %PYTHON% instead of pythonRod Vagg1-4/+6
Like libuv does. Originally: https://github.com/node-forward/node/pull/21 PR-URL: https://github.com/iojs/io.js/pull/1444 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Conflicts: vcbuild.bat
2015-04-01deps: check in gtest, add util unit testBen Noordhuis1-0/+2
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-18build: remove incorrect argument in vcbuild.batJeremiah Senkpiel1-1/+1
This change had been incorrectly committed in f19e9b6 PR-URL: https://github.com/iojs/io.js/pull/1198 Reviewed-By: Rod Vagg <rod@vagg.org>
2015-03-11build: fix incorrect set in vcbuild.batBert Belder1-1/+1
Thanks Shigeki Ohtsu for catching this.
2015-03-092015-03-09 io.js v1.5.1 Releasev1.5.1Rod Vagg1-1/+1
Notable changes: * tls: The reported TLS memory leak has been at least partially resolved via various commits in this release. Current testing indicated that there may still be some leak problems. Progress being tracked at: https://github.com/iojs/io.js/issues/1075 * http: Fixed an error reported at https://github.com/joyent/node/issues/9348 and https://github.com/npm/npm/issues/7349 Pending data was not being fully read upon an 'error' event leading to an assertion failure on socket.destroy(). (Fedor Indutny) https://github.com/iojs/io.js/pull/1103
2015-02-27build: improve vcbuild.batBert Belder1-31/+18
* Support running multiple test suites (e.g. vcbuild test-simple test-gc). * Removed a nonexisting test suite (test-uv). * Removed superfluous extra layer of argument parsing. * Fix the node-weak build. R=@rvagg PR-URL: https://github.com/iojs/io.js/pull/998 Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-27build: disable v8 snapshotsBen Noordhuis1-5/+5
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-16build: add tools/gflags to PYTHONPATHShigeki Ohtsu1-1/+1
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-13src: rename node to io.js for Windows installerRod Vagg1-4/+4
* quote "NODE_VERSION_STRING" in node.rc to allow for complex version strings * change user-facing strings * make sure .bat files are crlf PR-URL: https://github.com/iojs/io.js/pull/291 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
2015-01-08win,build: rename node.exe to iojs.exeBert Belder1-2/+2
* Sign iojs.exe * Run license2rtf.js through iojs PR-URL: https://github.com/iojs/io.js/pull/263 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-01-08win,build: remove upload target from vcbuild.batBert Belder1-14/+0
PR-URL: https://github.com/iojs/io.js/pull/263 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-01-05Merge remote-tracking branch 'joyent/v0.12' into v1.xBen Noordhuis1-2/+6
I was originally going to do this after the v0.11.15 release, but as that release is three weeks overdue now, I decided not to wait any longer; we don't want the delta to get too big. Conflicts: lib/net.js test/simple/simple.status PR-URL: https://github.com/iojs/io.js/pull/236 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Fedor Indutny <fedor@indutny.com>
2015-01-02build: i18n: add icu config optionsSteven R. Loomis1-2/+6
Make "--with-intl=none" the default and add "intl-none" option to vcbuild.bat. If icu data is missing print a warning unless either --download=all or --download=icu is set. If set then automatically download, verify (MD5) and unpack the ICU data if not already available. There's a "list" of URLs being used, but right now only the first is picked up. The logic works something like this: * If there is no directory deps/icu, * If no zip file (currently icu4c-54_1-src.zip), * Download zip file (icu-project.org -> sf.net) * Verify the MD5 sum of the zipfile * If bad, print error and exit * Unpack the zipfile into deps/icu * If deps/icu now exists, use it, else fail with help text Add the configuration option "--with-icu-source=..." Usage: * --with-icu-source=/path/to/my/other/icu * --with-icu-source=/path/to/icu54.zip * --with-icu-source=/path/to/icu54.tgz * --with-icu-source=http://example.com/icu54.tar.bz2 Add the configuration option "--with-icu-locals=...". Allows choosing which locales are used in the "small-icu" case. Example: configure --with-intl=small-icu --with-icu-locales=tlh,grc,nl (Also note that as of this writing, neither Klingon nor Ancient Greek are in upstream CLDR data. Serving suggestion only.) Don't use hard coded ../../out paths on windows. This was suggested by @misterdjules as it causes test failures. With this fix, "out" is no longer created on windows and the following can run properly: python tools/test.py simple Reduce space by about 1MB with ICU 54 (over without this patch). Also trims a few other source files, but only conditional on the exact ICU version used. This is to future-proof - a file that is unneeded now may be needed in future ICUs. Also: * Update distclean to remove icu related files * Refactor some code into tools/configure.d/nodedownload.py * Update docs * Add test PR-URL: https://github.com/joyent/node/pull/8719 Fixes: https://github.com/joyent/node/issues/7676#issuecomment-64704230 [trev.norris@gmail.com small change to test's whitespace and logic] Signed-off-by: Trevor Norris <trev.norris@gmail.com>
2014-12-17test: run tests in parallel, common improvementsFedor Indutny1-1/+1
* Allow running tests in mixed parallel/sequential modes * Add -J flag for running tests on all available CPUs * Support TEST_THREAD_ID in test/common.js and use it for tmpDir and PORT * make: use -J flag Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/iojs/io.js/pull/172 Fix: iojs/io.js#139
2014-12-17test: split test in parallel/sequentialFedor Indutny1-2/+2
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/iojs/io.js/pull/172 Fix: iojs/io.js#139
2014-12-12build: remove support for VS 2010 and 2012Nikolai Vavilov1-24/+2
They can't compile io.js anyway. PR-URL: https://github.com/iojs/io.js/pull/156 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Bert Belder <bertbelder@gmail.com>
2014-10-10build: vcbuild fix "The input line is too long."Alexis Campailla1-3/+12
vcbuild.bat is calling vcvars.bat, which doesn't detect if the environment has already been set. This causes repeated entries to be added to the PATH, which after a few invocations will lead to an error: The input line is too long.
2014-10-01build, i18n: improve Intl build, add "--with-intl"Steven R. Loomis1-1/+7
The two main goals of this change are: - To make it easier to build the Intl option using ICU (particularly, using a newer ICU than v8/Chromium's version) - To enable a much smaller ICU build with only English support The goal here is to get node.js binaries built this way by default so that the Intl API can be used. Additional data can be added at execution time (see Readme and wiki) More details are at https://github.com/joyent/node/pull/7719 In particular, this change adds the "--with-intl=" configure option to provide more ways of building "Intl": - "full-icu" picks up an ICU from deps/icu - "small-icu" is similar, but builds only English - "system-icu" uses pkg-config to find an installed ICU - "none" does nothing (no Intl) For Windows builds, the "full-icu" or "small-icu" options are added to vcbuild.bat. Note that the existing "--with-icu-path" option is not removed from configure, but may not be used alongside the new option. Wiki changes have already been made on https://github.com/joyent/node/wiki/Installation and a new page created at https://github.com/joyent/node/wiki/Intl (marked as provisional until this change lands.) Summary of changes: * README.md : doc updates * .gitignore : added "deps/icu" as this is the location where ICU is unpacked to. * Makefile : added the tools/icu/* files to cpplint, but excluded a problematic file. * configure : added the "--with-intl" option mentioned above. Calculate at config time the list of ICU source files to use and data packaging options. * node.gyp : add the new files src/node_i18n.cc/.h as well as ICU linkage. * src/node.cc : add call into node::i18n::InitializeICUDirectory(icu_data_dir) as well as new --icu-data-dir option and NODE_ICU_DATA env variable to configure ICU data loading. This loading is only relevant in the "small" configuration. * src/node_i18n.cc : new source file for the above Initialize.. function, to setup ICU as needed. * tools/icu : new directory with some tools needed for this build. * tools/icu/icu-generic.gyp : new .gyp file that builds ICU in some new ways, both on unix/mac and windows. * tools/icu/icu-system.gyp : new .gyp file to build node against a pkg-config detected ICU. * tools/icu/icu_small.json : new config file for the "English-only" small build. * tools/icu/icutrim.py : new tool for trimming down ICU data. Reads the above .json file. * tools/icu/iculslocs.cc : new tool for repairing ICU data manifests after trim operation. * tools/icu/no-op.cc : dummy file to force .gyp into using a C++ linker. * vcbuild.bat : added small-icu and full-icu options, to call into configure. * Fixed toolset dependencies, see https://github.com/joyent/node/pull/7719#issuecomment-54641687 Note that because of a bug in gyp {CC,CXX}_host must also be set. Otherwise gcc/g++ will be used by default for part of the build. Reviewed-by: Trevor Norris <trev.norris@gmail.com> Reviewed-by: Fedor Indutny <fedor@indutny.com>
2014-03-27build: windows signing should include timestampsJosh Dague1-2/+4
Previously the build artifacts did not include a signed timestamp, so when the certificate expired the validation of the artifact would fail. Now we sign against a timestamp server such that the artifact will always be valid regardless of the disposition of the certificate. Closes #7360 and #7059.
2013-12-28build: add settings for VS 2013 to vcbuild.batLev Gimelfarb1-0/+9
Search for VS2013 compiler 1st, before falling back to older ones. This allows compiling using the latest VS2013.
2013-05-03build: vcbuild.bat fix for Visual Studio 2012Miroslav Bajtoš1-3/+0
Change vcbuild.bat to ignore VCINSTALLDIR environment variable, always check for specific VS version and set GYP_MSVS_VERSION accordingly. Otherwise GYP generates project files in format that cannot be compiled by VS2012.
2013-04-23build: added support for Visual Studio 2012Miroslav Bajtoš1-0/+10
2013-03-05build: define nightly tag external to build systemTimothy J Fontaine1-2/+4
2013-03-01build/windows: don't use wrong version numberScott Blomquist1-6/+13
We were using a global temp file while setting the NODE_VERSION environment variable. This resulted in simultaneous builds swapping version numbers on occasion. This patch removes the use of a temp file for this.
2013-03-01build: windows should append date if nightlyTimothy J Fontaine1-0/+6
2013-01-03windows: improve Visual Studio Express build supportScott Blomquist1-4/+7
* Moved generated files to a clearer directory. * Improved detection logic for ctrpp.exe tool. Closes #4482
2012-11-21windows: add tracing with performance countersScott Blomquist1-2/+7
Patch by Henry Rawas and Scott Blomquist.
2012-11-06build: remove jslint test/ on WindowsShigeki Ohtsu1-1/+1
See 605927fbd9c2fbcd7d88a8f8159a9ca78417a6d0
2012-06-14vcbuild.bat: add duplicate arg-ok label to work around cmd.exe bugBert Belder1-0/+1
2012-06-14test: bundle node-weak in test/gc so that it doesn't need to be downloadedNathan Rajlich1-3/+17
2012-06-13Windows: Enable ETW events.Igor Zinkovsky1-2/+7
This commit enables ETW events to be fired on Windows for existing DTrace probes. ETW instrumentation is enabled by default. It is possible to build node.exe without ETW instrumentation by using --without-etw option with configure script.
2012-06-02windows/msi: cleanup WiX project filesJeroen Janssen1-2/+1
The current WiX project files do some manual processing and generation which WiX supports doing out of the box. This patch will use the HeatDirectory task to generate the npm.wxs file and use the auto GUID generation. I also changed the msi filename generation to include the version number to match the currently used name for released msi files. Closes #3360
2012-06-02windows: don't install x64 version into the 'program files (x86)' folderMatt Gollob1-2/+4
* Update nodemsi.sln and .wixproj to include support for x64 platform - Add ProgramFilesFolderId to the DefineConstants property for each configuration/platform's property group with the appropriate value (ProgramFilesFolder for x86 builds, ProgramFiles64Folder for x64 builds) * Update product.wxs: - update the Id value for the "Program Files" Directory element to use a preprocessor constant. - remove hard-coded platform from the Package element. MSI platform will be automatically detected based on MSBuild's Platform property. (This was already supported in the Wix MSBuild targets, we just weren't taking advantage of it.) * Update vcbuild.bat to set MSBuild's Platform property appropriately, defaulting to x86 if not explicitly supplied by the user. Note that creating an x64 build requires that vcbuild.bat be run from a VS 64-bit command prompt. Closes #3312 Closes #3356
2012-04-04Windows: add build step that generates license.rtf from LICENSEBert Belder1-3/+15
2012-03-15vcbuild: run the 'configure' script in vcbuild.batNathan Rajlich1-9/+5
So that a 'config.gypi' file gets generated, which is required for the `process.config` object (see #2928).
2012-03-08add jslint to vcbuild.batIgor Zinkovsky1-0/+12
2012-02-28build: fix the help output of vcbuild.batShigeki Ohtsu1-1/+2
2012-02-23build: change default BUILDTYPE of vcbuild.batShigeki Ohtsu1-1/+1
From Debug to Release.
2012-02-18Merge remote-tracking branch 'ry/v0.6' into v0.6-mergeisaacs1-20/+21
Conflicts: AUTHORS ChangeLog Makefile doc/about/index.html doc/api/tls.markdown doc/community/index.html doc/index.html doc/logos/index.html doc/template.html lib/http.js lib/tls.js src/node_version.h src/platform_win32.cc test/simple/test-tls-connect-given-socket.js
2012-02-12Fix vcbuild.bat, print error when an unrecognized option is encounteredBert Belder1-20/+21
2012-02-12Merge remote-tracking branch 'origin/v0.6'Ben Noordhuis1-2/+6
Conflicts: common.gypi
2012-02-07enable x64 windows buildIgor Zinkovsky1-2/+6
use "vcbuild x64" to do x64 build of node.exe
2012-01-09Merge remote branch 'origin/v0.6'Ryan Dahl1-0/+10
Conflicts: Makefile configure src/node_version.h