diff options
author | Marat Dukhan <maratek@gmail.com> | 2014-12-13 15:48:12 -0500 |
---|---|---|
committer | Marat Dukhan <maratek@gmail.com> | 2017-02-17 01:06:29 -0500 |
commit | 0525a85327e82935fb2333d9f18e520f52fa4154 (patch) | |
tree | 772152f310206ab874d30a5fac3e3e56975dd66f /configure.py | |
download | psimd-0525a85327e82935fb2333d9f18e520f52fa4154.tar.gz |
Public release
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.py b/configure.py new file mode 100755 index 0000000..26b29bd --- /dev/null +++ b/configure.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python + + +import confu +parser = confu.standard_parser("FP16 configuration script") + + +def main(args): + options = parser.parse_args(args) + build = confu.Build.from_options(options) + + build.export_cpath("include", ["psimd.h"]) + + return build + + +if __name__ == "__main__": + import sys + main(sys.argv[1:]).generate() |