aboutsummaryrefslogtreecommitdiffstats
path: root/worker.go
Commit message (Collapse)AuthorAgeFilesLines
* [go] fix func_backslash.mk and err_invalid_ifeq5.mkFumitoshi Ukai2015-09-041-0/+4
| | | | | | | emit "Nothing to be done for '<target>'" in these test. don't remove "Nothing to be done for 'test' for err_invalid_ifreq3.mk and mark it as TODO(c)
* [go] fix ninja multiline_arg.mkFumitoshi Ukai2015-07-291-1/+1
|
* [go] fix nothing_to_do.mkFumitoshi Ukai2015-07-171-4/+14
|
* fix blank_line_before_command.mkFumitoshi Ukai2015-07-151-1/+2
|
* use github.com/golang/glogFumitoshi Ukai2015-07-101-7/+9
|
* Remove paraShinichiro Hamaji2015-07-061-78/+18
|
* factor out execContext from executor.Fumitoshi Ukai2015-06-301-86/+1
|
* fix deadlock when errorFumitoshi Ukai2015-06-271-4/+22
|
* fix panic based error reportingFumitoshi Ukai2015-06-261-38/+65
|
* unexport Logf, LogAlways, Warn*, Error*Fumitoshi Ukai2015-06-251-13/+13
|
* unexport workerFumitoshi Ukai2015-06-251-59/+56
|
* unexport ParaFumitoshi Ukai2015-06-251-3/+3
|
* go gettable for github.com/google/katiFumitoshi Ukai2015-06-251-18/+20
|
* reduce string -> []byte conversion in Write and w.Write([]byte{x})Fumitoshi Ukai2015-06-191-2/+2
| | | | | use io.WriteString(w, str) instead of w.Write([]byte(str)) use writeByte(w, b) instead of w.Write([]byte{b})
* parseExpr less allocationFumitoshi Ukai2015-06-181-1/+1
|
* Add LICENSE and licence headersShinichiro Hamaji2015-06-101-0/+14
|
* fix go vet: possible formatting directive in Log callFumitoshi Ukai2015-06-081-9/+9
| | | | rename Log to Logf, since it takes format string in the first argument.
* fix go vetFumitoshi Ukai2015-06-081-1/+0
| | | | | | | | | serialize.go:361: unreachable code serialize.go:415: arg o for printf verb %s of wrong type: int serialize.go:422: arg o for printf verb %s of wrong type: int worker.go:354: unreachable code ninja_test.go:134: missing argument for Errorf("%q"): format reads arg 2, have only 1 args rule_parser_test.go:160: arg *got for printf verb %q of wrong type: main.Rule
* change Job recievier type from Job to *Job.Fumitoshi Ukai2015-06-081-2/+2
| | | | | | build method of Job modify outputTs. if receiver type is Job, it will modify copied Job and doesn't affect caller data.
* Add fileutil.goShinichiro Hamaji2015-05-251-0/+9
|
* Do not set numDeps == -1 before a job actually finishesShinichiro Hamaji2015-05-151-2/+3
|
* Add more log messages for worker.goShinichiro Hamaji2015-05-141-0/+4
|
* Make --use_para slightly more usableShinichiro Hamaji2015-05-131-8/+26
|
* Add para.go and para_test.goShinichiro Hamaji2015-05-131-18/+59
|
* use sync.Pool for temporal bytes.Buffer.Fumitoshi Ukai2015-05-071-1/+4
| | | | | | | | | | | | remove ev.Value and ev.Values before: scanblock: 8.22s (14.83%) runtime.MScan_Sweep 4.99s(9.00%) after: scanblock: 7.42s (12.95%) runtime.MScan_Sweep 4.57s(7.98%)
* Add an experimental --eager_cmd_eval flagShinichiro Hamaji2015-04-291-35/+1
| | | | | Maybe we should remove this later. This step seems to take only 5 seconds, cannot be a bottleneck.
* Fix non-first line concatenation for commandsShinichiro Hamaji2015-04-291-3/+3
|
* Avoid linear search to find a next taskShinichiro Hamaji2015-04-281-5/+6
|
* Introduce job queueShinichiro Hamaji2015-04-281-15/+44
|
* Rename alreadyFinished => newDepShinichiro Hamaji2015-04-271-20/+20
|
* Implement -j flagShinichiro Hamaji2015-04-271-39/+149
| | | | | | | It seems to be working... -j1 for glog: 19.471 secs -j8 for glog: 4.493 secs
* The first step for parallel buildShinichiro Hamaji2015-04-271-0/+257