aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
Commit message (Collapse)AuthorAge
...
* Set up pkg path for the fetch and query commands in .bazelrcGravatar Kristina Chodorow2015-05-18
| | | | | | | Fixes #192. -- MOS_MIGRATED_REVID=93890217
* Do not create objc helper tools when the platform is Linux.Gravatar Thiago Farina2015-05-15
| | | | | | | | | This only makes sense on Darwin platform. -- Change-Id: I337a92bfb9a121b925b5e12e44108abb8c6cbd46 Reviewed-on: https://bazel-review.googlesource.com/#/c/1330/ MOS_MIGRATED_REVID=93651773
* Require fetch for external dependenciesGravatar Kristina Chodorow2015-05-15
| | | | | | | | | | This is a bit annoying from a UX perspective, as the JDK is an "external dependency" (and the C++ compiler really should be) so you have to run "fetch" on new repositories with nothing in the WORKSPACE file before doing your first build. -- MOS_MIGRATED_REVID=93532829
* Test for existence of $HOME before writing ~/.bazelrc in compile.shGravatar Damien Martin-Guillerez2015-05-15
| | | | | | | Without that change, the compile.sh script fails when $HOME is unset. -- MOS_MIGRATED_REVID=93412872
* Rewrite of ZipCombiner to improve performance and maintainabilityGravatar Googler2015-05-08
| | | | | | | | | | | Poorly performing features of the API have been deprecated in favor of better alternatives: - use addZip(File) over addZip(InputStream) or addZip(String, InputStream) - use addFile(ZipFileEntry) over addFile(String, Date, InputStream, DirectoryEntryInfo) New zip package for high performance ZIP file manipulation. Can directly work with compressed ZIP entry data and has support for Zip64 (forces Zip32 by default). -- MOS_MIGRATED_REVID=93128639
* Put quotes around all paths that might have spacesGravatar Kristina Chodorow2015-04-28
| | | | | | | Kicks the can down the road for #167. -- MOS_MIGRATED_REVID=92270128
* compile.sh: Use $CXX/$CXXFLAGS for C++ compiler and its options.Gravatar Kyle Moffett2015-04-24
| | | | | | | | Traditionally, "$CPP" is the C preprocessor, not the C++ compiler, and the $CFLAGS variable is only for C compilation, not C++. -- MOS_MIGRATED_REVID=91898356
* Fix compile.sh for macportsGravatar Allen Porter2015-04-22
| | | | | | | | | | | | | | Add a newline to compile.sh so that the archive_dir variable is preserved when building with macports. Without this, we see the following: $ ./compile.sh cp: /include/archive.h: No such file or directory cp: /include/archive_entry.h: No such file or directory -- Change-Id: c03f3ba7070339ad2e9a0373f98135f780484431 MOS_MIGRATED_REVID=91703218
* Header cleanups.Gravatar Han-Wen Nienhuys2015-04-22
| | | | | -- MOS_MIGRATED_REVID=91681168
* Bazel compile.sh: prevent BUILD file to be copied in the outputGravatar Damien Martin-Guillerez2015-04-20
| | | | | | | | We should also move the output directory to bazel-something so it get excluded from the package path. -- MOS_MIGRATED_REVID=91567602
* Bazel compile.sh: test for existence of the protoc compilerGravatar Damien Martin-Guillerez2015-04-16
| | | | | | | | | Tested with removing the protoc binaries from a github copy. Fixes #128. -- MOS_MIGRATED_REVID=91297812
* Correctly quotes JAVA_HOME in Bazel's compile.shGravatar Damien Martin-Guillerez2015-04-16
| | | | | | | | | Part the fix for bug #128 Tested by making JDK point to a folder with space. -- MOS_MIGRATED_REVID=91295878
* Cleanup: Build file.cc as part of util library.Gravatar Thiago Farina2015-04-14
| | | | | | | | | | | | | | | | | | | | | | Looks like in the transition it was forgotten to be moved to the new location. As an effect of this change it was discovered that file.cc had an dependency back on blaze_util.cc (from client binary for die/pdie functions). In order to fix that dependency we have had to move die/pdie functions into util library (added errors.(cc|h)) for this. Tested on Linux with the following command lines: $ ./compile.sh $ ./output/bazel build //src/main/cpp:all $ ./output/bazel build //src:bazel $ ./bootstrap_test.sh all -- Change-Id: I70fb1b6189dc5af31f816332d76efe380ef26302 MOS_MIGRATED_REVID=90987514
* Create a clean base directory for Bazel toolsGravatar Kristina Chodorow2015-04-10
| | | | | | | | | Suggested on https://github.com/google/bazel/issues/103#issuecomment-91290723, this way the workspace on the package path doesn't include any (unwanted) build artifacts. -- MOS_MIGRATED_REVID=90733730
* Use new protoc binary for compiling Bazel on linux.Gravatar Han-Wen Nienhuys2015-04-09
| | | | | -- MOS_MIGRATED_REVID=90725916
* Update getting started instructions with .bazelrc strategyGravatar Kristina Chodorow2015-04-06
| | | | | -- MOS_MIGRATED_REVID=90418845
* Automated [] rollback of [].Gravatar Googler2015-04-06
| | | | | | | | | | | | | | | *** Reason for rollback *** New ZipCombiner creates malformed output ZIP files when input ZIP files contain more than 65535 entries, the maximum amount for non-64-bit ZIP files. *** Original change description *** Rewrite of ZipCombiner to improve performance and maintainability. Added devtools/build/zip to allow reading and writing of ZIP files without requiring decompressing file data to manipulate them. ZipCombiner API has some changes. ZipCombiner#addZip takes a File instead of InputStream. ZipCombiner#addFile takes a ZipFileEntry instead of DirectoryEntryInfo -- MOS_MIGRATED_REVID=90279976
* Description redacted.Gravatar Googler2015-04-03
| | | | | -- MOS_MIGRATED_REVID=90162183
* Detect the macport installation root automaticallyGravatar Volker Braun2015-04-01
| | | | | | -- Change-Id: I270ea8e2a0eebba4af252a7f29fb3347643903b4 MOS_MIGRATED_REVID=90055215
* Bazel: Patch in changes of pull request #83.Gravatar Laszlo Csomor2015-03-31
| | | | | | | https://github.com/google/bazel/pull/83 -- MOS_MIGRATED_REVID=89989164
* Unset JAVA_TOOL_OPTIONS in compile.shGravatar Damien Martin-Guillerez2015-03-25
| | | | | | | | | | | | If this option is set, the java version check fails. Fixing the java version check to support JAVA_TOOL_OPTIONS is more dangerous than simply unsetting it. Keeping JAVA_TOOL_OPTIONS would allow to override java compilation configuration of Bazel. Fixes #41 -- MOS_MIGRATED_REVID=89500863
* compile.sh: Show location of the new binaryGravatar Laurent Le Brun2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89495398
* Fixed compile.sh with homebrew on OS XGravatar Damien Martin-Guillerez2015-03-25
| | | | | | | A previous commit was incomplete. -- MOS_MIGRATED_REVID=89490186
* Allow compile.sh to find libarchive on Mac with custom Homebrew directory.Gravatar Lukacs Berki2015-03-25
| | | | | | | | | This is a merge of https://github.com/safarmer/bazel/commit/dcddddcd2a3f61d1b760825a8f77f0e069f77e66 -- MOS_MIGRATED_REVID=89487751
* Move all examples into Bazel workspaceGravatar Damien Martin-Guillerez2015-03-24
| | | | | | | | Those examples will be used for Bazel integration tests and their sources should be available directly to the Bazel workspace itself. -- MOS_MIGRATED_REVID=89380736
* Add compilation of objc helper tools to compile.shGravatar Daniel Wagner-Hall2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89147775
* Move all actual compilation to after function definitionsGravatar Daniel Wagner-Hall2015-03-20
| | | | | | | | This makes it easier to comment out large blocks of compilation, when testing only particular stages. -- MOS_MIGRATED_REVID=89099305
* Set LDFLAGS whether or not fromhost/BUILD existsGravatar Kristina Chodorow2015-03-18
| | | | | | | Change-Id: Ib5d40a02826919ea675a4c4ebc7c409dbbc4ce6f -- MOS_MIGRATED_REVID=88932526
* Make JDK not need tools/jdk/jdk symlinkedGravatar Kristina Chodorow2015-03-18
| | | | | -- MOS_MIGRATED_REVID=88742425
* Set LDFLAGS whether or not fromhost/BUILD existsGravatar Kristina Chodorow2015-03-17
|
* Rewrite fromhost/BUILD on each compile.sh runGravatar Kristina Chodorow2015-03-10
| | | | | | | | Otherwise it keeps appending libarchive library targets to the existing BUILD file. -- MOS_MIGRATED_REVID=87942865
* Fixed the compile.sh path for JavaBuilder's sourceGravatar Damien Martin-Guillerez2015-03-05
| | | | | | | The introduction of the JavaCompiler paths into the JavaBuilder tool made the bootstrap compilation by compile.sh fails. -- MOS_MIGRATED_REVID=87705554
* Make Rule know about the name of the workspace it is in.Gravatar Kristina Chodorow2015-03-05
| | | | | | | This is needed for taking the runfiles prefix from the WORKSPACE file instead of hardcoding it. -- MOS_MIGRATED_REVID=87347883
* Add symlinks to third_party/ and tools/ to base_workspaceGravatar Kristina Chodorow2015-02-19
| | | | | | | | | | | | While attempting to clean up the Bazel examples, I noticed that the example tests don't actually work because they expect a third_party directory. We could link third_party/ from the top-level bazel directory, but then we'd have crossing symlinks (base_workspace/tools->tools and third_party->base_workspace/third_party). Linking everything in one direction seemed like a better option, but alternative suggestions are welcome. -- MOS_MIGRATED_REVID=86703332
* Renamed java tools from //tools:java/* to //tools/jdk:* inside blaze.Gravatar Damien Martin-Guillerez2015-02-19
| | | | | -- MOS_MIGRATED_REVID=86681843
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957