summaryrefslogtreecommitdiff
path: root/mbld/deps.myr
AgeCommit message (Collapse)Author
2017-10-16Improve error message for missing deps.Ori Bernstein
2017-10-05Allow passing some flags to the build.Ori Bernstein
2017-09-05Improve error messages for missing libs.Ori Bernstein
It's useful to know which target is missing them.
2017-09-04support benchmark command targets.Ori Bernstein
2017-09-04`mbld bench` now works.Ori Bernstein
2017-08-12Fix man paths constructionLucas Gabriel Vuotto
Signed-off-by: Lucas Gabriel Vuotto <lvuotto92@gmail.com>
2017-07-31The leaf already takes care of the generates() rule.Ori Bernstein
2017-07-31Thread link obj files into the depgraph.Ori Bernstein
2017-07-25Fix target names.Ori Bernstein
We were using the wrong name.
2017-07-25Fix running tests.Ori Bernstein
2017-07-25Add support for obj/ directory.Ori Bernstein
Currently, it's unconditional.
2017-07-25New parallel mbld.Ori Bernstein
2017-07-19Only use the filename itself for __init__Ori Bernstein
This sucks, but it's *extremely* unlikely that a file will share a namespace, filename, and __init__. This makes builds directory-independent, so that linking the same file compiled with a different compiler cwd will work.
2017-07-17Convert from `in` to `:`.Ori Bernstein
The winds of change are a-blowin.
2017-07-03Specialize impl declarations on impl type in addition to decl typeMichael Forney
This allows multiple specializations of a declarations with a concrete type, which can be selected with the new impl expression if it can't be deduced by its type alone. For example trait hasname @t = Name: byte[:] ;; impl hasname void = Name = "somename" ;; impl hasname bool = Name = "othername" ;; const boolname = impl(Name, void) To do this, pass the param type through to genericname and specializedcl. Since we now need the type parameter to look up trait decls, make sure n->expr.param gets the necessary treatment in typesub, specializenode, pickle, and unpickle. We also need to tag the param types for export.
2017-06-28Update ABI version.Ori Bernstein
2017-02-17Search for usefiles relative to the output.Ori Bernstein
For most uses, this is equivalent to compiler cwd, but supports out of tree builds better. It also means that builds behave the same way regardless of the directory that the compiler is run from, which is convenient for testing. This also drops support for `.use` suffixes on local uses.
2017-01-11Suppress prints when doing '-R'Ori Bernstein
2016-09-24Propagate dynamic linker flags when using libsOri Bernstein
2016-08-27Rename `std.Fail to `std.Err.Ori Bernstein
2016-05-21Add fallback for usefile path on installed dir.Ori Bernstein
2016-05-13Switch to using lib{}.use.Ori Bernstein
Does 3 things; 1) Teaches the compiler about how to load libfoo.use, falling back to 'foo' 2) teaches muse how to generate packages named 'pkg' in fille 'libthing.use' 3) teaches mbld how to look up and resolve libfoo.use named usefiles. Eventually a fallback will be implemented.
2016-05-08Fix several openbsd syscalls.Ori Bernstein
2016-03-03Handle hiding of traits correctly.Ori Bernstein
2016-02-11stop mbld from opening a directoryandrewc
2016-02-05change slgrow to take a pointerandrewc
2016-02-04Make std.sljoin consistent.Ori Bernstein
2016-02-02Make slpush take an address.Ori Bernstein
2016-01-23Move away from ".use" suffix.Ori Bernstein
2016-01-23Make '.use' suffix on usefiles optional.Ori Bernstein
2015-12-29Update ABI version.Ori Bernstein
2015-12-28Add the '-R' option to mbld.Ori Bernstein
You can now build and run directly as one step.
2015-12-22Make traits work across files.Ori Bernstein
This bumps ABI, and contains a hack.
2015-12-14Initial support for void as an expression.Ori Bernstein
2015-12-09Search the default path for a library.Ori Bernstein
We had missed a couple of search paths.
2015-12-01Reduce mbld memory leakage.Ori Bernstein
2015-10-04Actually return the error that occurred.Ori Bernstein
2015-10-04Make the interface for libbio expose errors.Ori Bernstein
Filling in all the error conditions correctly is only lightly tested, but it seems to work.
2015-10-02Propagate extra libraries through the system.Ori Bernstein
2015-10-01Update the C glue library detection.Ori Bernstein
We still need to propagate the extra libs, though.
2015-10-01Add muse support for C linking on Linux.Ori Bernstein
We know know about foo.glue.c, which will attempt to link in libfoo. We don't do anything about dependencies of libfoo yet.
2015-09-30Fix FreeBSD port. Add missing files, and some ABI issues.Ori Bernstein
2015-09-30Add support for duplicating functions.Ori Bernstein
2015-09-27Bump ABI version. Also, improve errors about it.Ori Bernstein
We now say which version we got, which version we expected, and only warn in mbld. This means that we can probably build newer usefiles with older mblds.
2015-09-18Remove 'long' type.Ori Bernstein
It wasn't ever actually used.
2015-08-21Get closer to the C ABIOri Bernstein
2015-07-09Refactor namespaces.Ori Bernstein
We no longer store subnamespaces in the stab node; now they're a part of the file.
2015-07-05Add proper support for a 'gap' variable.Ori Bernstein
'_' is now a reserved token.
2015-06-28Implement '__init__' functions.Ori Bernstein
2015-06-23Use 'config.Libpath' instead of hardcoding "lib/myr"Ori Bernstein