potfit wiki

open source force-matching

User Tools

Site Tools


compiling:waf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
compiling:waf [2018/08/24 20:57] danielcompiling:waf [2018/09/16 10:21] (current) – removed daniel
Line 1: Line 1:
-====== Compiling potfit using waf ====== 
----- 
  
-potfit uses the [[https://waf.io/|waf]] build system. It is fast and easy to use. Since it is written in Python it requires a Python runtime to be available.  
- 
-===== Basics ===== 
- 
-The potfit source tree contains the waf binary in its root folder. It is used for all build related operations like configuration, building and cleanup. It provides an exhaustive help page when called with the --help argument. 
- 
-For building potfit there are two stages, first the configuration stage and then the build stage. The configuration stage checks if all requirements for a building a binary with the requested options is possible and the build stage then invokes the compiler to create the binary. 
- 
-=== Configuration === 
- 
-Do it like this: 
- 
-<code bash>./waf configure -i pair -m apot</code> 
- 
-=== Build === 
- 
-Do it like this: 
- 
-<code bash>./waf</code> 
- 
-===== Setting options ===== 
- 
-===== Advanced options ===== 
- 
-===== Troubleshooting ===== 
- 
-===== Developer guide ===== 
compiling/waf.1535137032.txt.gz · Last modified: 2018/08/24 20:57 by daniel