mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-25 18:40:19 -04:00
Document temporary file location
This commit is contained in:
parent
7bc302678e
commit
8a687d5f54
1 changed files with 4 additions and 3 deletions
|
|
@ -82,9 +82,10 @@ SnapRAID is designed to recover from an interruption, including `SIGKILL`, at an
|
|||
- `linux.cfg`: Code formatting rules for `raid/` directory and its subdirectories
|
||||
- Run `make doc` to regenerate all manual pages (`*.1`) and text manuals (`*.txt`)
|
||||
- Always use parallel compilation with `make -j$(nproc)` instead of plain `make`
|
||||
- To cross-compile for Windows x64: build out-of-tree in `/tmp` so the Linux configuration is preserved:
|
||||
`mkdir -p /tmp/snapraid-windows && (cd /tmp/snapraid-windows && /path/to/configure.windows-x64 && make -j$(nproc))`
|
||||
Subsequent Windows rebuilds only require: `(cd /tmp/snapraid-windows && make -j$(nproc))`
|
||||
- Create temporary files and directories under `/tmp/snapraid/`.
|
||||
- To cross-compile for Windows x64: build out-of-tree in `/tmp/snapraid/` so the Linux configuration is preserved:
|
||||
`mkdir -p /tmp/snapraid/windows && (cd /tmp/snapraid/windows && /path/to/configure.windows-x64 && make -j$(nproc))`
|
||||
Subsequent Windows rebuilds only require: `(cd /tmp/snapraid/windows && make -j$(nproc))`
|
||||
- The Windows build needs to be tested only when modifying Windows-specific code (e.g., `os/mingw.*`, `cmdline/mingwapp.c`, or Windows-specific `#ifdef` paths)
|
||||
|
||||
## Code Style Guidelines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue