summaryrefslogtreecommitdiff
path: root/mbld
AgeCommit message (Collapse)Author
2019-10-21Use optparse's .arg to pass run targetMura Li
2019-10-22Support cli arguments for mbld -RMura Li
Example: mbld -R main.myr arg1 arg2 arg3
2019-10-18Tie return value of mbld to results of specified targetssgilles@math.umd.edu
I'd like to have `mbld test' return non-0 when the tests fail. I think this does it, but I may be over-simplifying. mbld/main.myr | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) Tie return value of mbld to results of specified targets
2019-02-26Add support for `__fini__` functions.Ori Bernstein
2019-02-08Runsrc is now consistent with -bOri Bernstein
2019-02-08Unbreak runsrc.Ori Bernstein
2019-02-04Error if we forgot to give code to build.Ori Bernstein
2019-01-28Bump ABI version.Ori Bernstein
Fixes bug for slices in varargs.
2019-01-12Improve manpages (thanks BurnZeZ)Ori Bernstein
2019-01-07Correctly strip manpage names on Plan 9.Ori Bernstein
2018-10-28Emit test logs into the obj/ directory.Ori Bernstein
2018-10-28Respect outdir and use it for tests.Ori Bernstein
This makes our gitignore nicer.
2018-09-24Fix typo.Ori Bernstein
2018-08-24Add -v option, make it print test output.Ori Bernstein
2018-07-14Make bio and regex disposable.Ori Bernstein
2018-07-03Respect {noinst} attribute.Ori Bernstein
2018-06-15Add system-selected tag lists.Ori Bernstein
This lightens the requirements for a `./configure` script, and allows creating dependent tags based on system features.
2018-05-29Retroactively update the ABI version.Ori Bernstein
Auto expressions changed the usefile layout, but we forgot to bump ABI.
2018-05-10Rebuild if the toolchain was updated.Ori Bernstein
2018-05-10Turn off fancy stuff when we have an old assembler.Ori Bernstein
2018-05-09Merge remote-tracking branch 'npnth/libmath'Ori Bernstein
2018-05-01Escape test failures.Ori Bernstein
This makes things work more good when running tests by hand.
2018-04-18Merge remote-tracking branch 'ori/master' into HEADS. Gilles
2018-04-08Add support for `-T` option to compile in test mode.Ori Bernstein
Tests can now access hidden declarations.
2018-03-30Add mising file to build list.Ori Bernstein
2018-03-29Remove suprious free. We don't want to mutate the targets.Ori Bernstein
2018-03-29Implement sqrt in asm.S. Gilles
2018-03-24Clean up and remove edge cases in strfind.Ori Bernstein
2018-03-24Handle subtests correctly.Ori Bernstein
2018-03-24Improve test runner test filtering.Ori Bernstein
Filter on what the user sees. Before, we would use the internal target names, which bore a resemblance to the target names used by the user, but they didn't match perfectly. This led to unintuitive behavior. Now, we filter on a substring of the test name matching. So, you can do something like: mbld test crypto/sha3 instead of mbld test lib/bio/test:delim In addition, not all tests had an explicit target, and these would be impossible to match on. Still left to do is adding subtest patterns.
2018-03-24Fix the cpufeatures... er... features on plan 9.Ori Bernstein
2018-03-23Fix the cpufeatures... er... features on plan 9.Ori Bernstein
2018-03-22Implement assembly version of fused multiply-addS. Gilles
The feature flag for fma includes OSXSave and AVX detection, as these are prerequisites for using the xmm/ymm registers. We do not, however, check the result of XGETBV (as recommended in the Intel software developer manual, vol 1, 14.5.3) because this seems to be a check that should be performed at runtime (see the note in section 14.3). This is slightly uncomfortable -- perhaps libmath should come with an __init__ that bails if the user is trying to use AVX stuff when the OS isn't using XSAVE.
2018-03-20Allow CPU feature detection by mbld, and add "sse4" tagS. Gilles
This allows writing graceful degradation of optimizations. In practice, it justifies less-than-optimal floating point implementations by allowing a portable upgrade path through AVX, SIMD, &c. Bootstrap scripts are updated by genboostrap.sh on Linux+amd64, and by hand on all others.
2018-03-20Add -T to use *only* the passed sytem tags.Ori Bernstein
2018-03-12Bump ABI retroactively.Ori Bernstein
Forgot to do it when adding ternary operator.
2018-02-20Fix minor leakOri Bernstein
2018-01-31Free obsolete htabsMura Li
2018-01-31Teach mbld how to parse skipped tests.Ori Bernstein
Not the cleanest, but it's a start.
2018-01-27Remove std.sleqOri Bernstein
We have std.eq. We still export a generic sleq for compatibility, but we don't need it or want it.
2018-01-21Cheap enums.Quentin Carbonneaux
2018-01-17Hack in seqaux.Ori Bernstein
It's not perfect, and the right solution would be to keep a trait->aux mapping, but for now it works good enough.
2018-01-16Merge branch 'clink-obsd' of https://github.com/moreais/mcOri Bernstein
2018-01-17Make mbld use dynamic linker flags from configureCarlin Bingham
2018-01-17Add a stub dlflags config variable for every OSCarlin Bingham
2018-01-14Merge branch 'trait-syntax'Ori Bernstein
2018-01-14Bump ABI version in mbld.Ori Bernstein
2018-01-12Merge branch 'remd' of https://github.com/moreais/mcOri Bernstein
2018-01-13Put the isdyn flag back in the myrtagCarlin Bingham
2018-01-12Return if dynamic linking is needed from addlibsCarlin Bingham