|
9 | 9 | # Script Keyword Arguments: |
10 | 10 | # |
11 | 11 | # do_clean If present, the existing files will be cleaned before compiling. |
12 | | -# exclude_runner Excludes the WhiteboxTools Runner app from the build (Windows and macos). |
| 12 | +# exclude_runner Excludes the WhiteboxTools Runner app from the build. |
13 | 13 | # zip Creates a zip file output in addition to the WBT folder |
14 | 14 | # |
15 | 15 | # Notes: |
16 | 16 | # You will need Rust installed before running the script. The output will be contained within a |
17 | | -# folder named 'WBT'. The WhiteboxTools Runner app will always be excluded from Linux builds. |
18 | | -# Compiling the Runner causes an error on our Ubuntu compile target. |
| 17 | +# folder named 'WBT'. The WhiteboxTools Runner app often results in an error when compiling on |
| 18 | +# Linux. This seems to be related to openssl libraries, which need to be set up correctly. If |
| 19 | +# you are unable to figure out the set-up correctly and you do not need the Runner app, you |
| 20 | +# would be advised to use the exclude_runner argument on linux. |
19 | 21 | # |
20 | 22 | # Example: |
21 | 23 | # python3 build.py do_clean exclude_runner zip |
@@ -44,7 +46,7 @@ def build(do_clean=False, exclude_runner=False, create_zip_artifact=False): |
44 | 46 |
|
45 | 47 | # Create the Cargo.toml file |
46 | 48 | workspace_str = '[workspace]\nmembers = ["whitebox-common", "whitebox-lidar", "whitebox-plugins", "whitebox-raster", "whitebox-runner", "whitebox-tools-app", "whitebox-vector"]\n\n' |
47 | | - if exclude_runner: # or platform.system() == 'Linux': |
| 49 | + if exclude_runner: |
48 | 50 | # Exclude the runner if the second command line arg is set to True or if the platform is linux |
49 | 51 | workspace_str = '[workspace]\nmembers = ["whitebox-common", "whitebox-lidar", "whitebox-plugins", "whitebox-raster", "whitebox-tools-app", "whitebox-vector"]\n\n' |
50 | 52 |
|
|
0 commit comments