Commit 39ce9869 authored by Akash Kothari's avatar Akash Kothari 💬
Browse files

Update README.md

parent 95989364
## hpvm-config -- Print HPVM compilation options # hpvm-config -- Print HPVM compilation options
### Synopsis ### Synopsis
hpvm-config option [components…] hpvm-config option [components…]
...@@ -9,53 +9,45 @@ In addtion to printing flags printed by [llvm-config](http://llvm.org/docs/Comma ...@@ -9,53 +9,45 @@ In addtion to printing flags printed by [llvm-config](http://llvm.org/docs/Comma
flags required to compile HPVM programs. flags required to compile HPVM programs.
### Options ### Options
–version –version: Print the version number of HPVM.
Print the version number of HPVM.
-help -help: Print a summary of llvm-config arguments.
Print a summary of llvm-config arguments.
–prefix –prefix: Print the installation prefix for LLVM.
Print the installation prefix for HPVM.
–src-root –src-root: Print the source root from which LLVM was built.
Print the source root from which HPVM was built.
–obj-root –obj-root: Print the object root used to build HPVM.
Print the object root used to build HPVM.
–bindir –bindir: Print the installation directory for LLVM binaries.
Print the installation directory for HPVM binaries.
–includedir –includedir: Print the installation directory for LLVM headers.
Print the installation directory for LLVM headers.
–libdir –libdir: Print the installation directory for LLVM libraries.
Print the installation directory for LLVM libraries.
–cxxflags –cxxflags: Print the C++ compiler flags needed to use LLVM headers.
Print the C++ compiler flags needed to use LLVM headers.
–ldflags –ldflags: Print the flags needed to link against LLVM libraries.
Print the flags needed to link against LLVM libraries.
–libs –libs: Print all the libraries needed to link against the specified LLVM components, including any dependencies.
Print all the libraries needed to link against the specified LLVM components, including any dependencies.
–libnames –libnames: Similar to –libs, but prints the bare filenames of the libraries without -l or pathnames. Useful for linking against a not-yet-installed copy of LLVM.
Similar to –libs, but prints the bare filenames of the libraries without -l or pathnames. Useful for linking against a not-yet-installed copy of LLVM.
–libfiles –libfiles: Similar to –libs, but print the full path to each library file. This is useful when creating makefile dependencies, to ensure that a tool is relinked if any library it uses changes.
Similar to –libs, but print the full path to each library file. This is useful when creating makefile dependencies, to ensure that a tool is relinked if any library it uses changes.
–components –components: Print all valid component names.
Print all valid component names.
–targets-built –targets-built: Print the component names for all targets supported by this copy of LLVM.
Print the component names for all targets supported by this copy of LLVM.
–build-mode –build-mode: Print the build mode used when LLVM was built (e.g. Debug or Release)
Print the build mode used when LLVM was built (e.g. Debug or Release)
-genHPVM: Generate HPVM textual IR from LLVM IR.
-dfg2llvm-cpu: Generate code for CPU and host.
-dfg2llvm-opencl: Generate kernel code for GPU target in OpenCL.
-clearDFG: Clear dataflow graph for HPVM and extraneous HPVM-specific instructions from IR.
### Exit Status ### Exit Status
If hpvm-config succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value. If hpvm-config succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment