doc: Update Windows build instructions #3101
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I tried to build
lfortran
in WSL2 and for the most part it went well.There are a few places in the documentation that need to be updated.
In addition to zlib, you need zstd, otherwise cmake will complain that it can't find the dependencies.
Maybe this could be added to conda's environment configuration as well? Just like:
lfortran/ci/environment.yml
Line 22 in 60dac40
lfortran
now generates an executable with the same name as the source fileDo we need to add
-DWITH_RUNTIME_STACKTRACE=yes
to the default cmake flags?Otherwise
./run_tests.py
will throw an error when executingruntime_stacktrace_01.f90 * run_dbg
Or skip the related tests if the WITH_RUNTIME_STACKTRACE flag is not set
lfortran/doc/src/installation.md
Line 201 in 60dac40