-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from mastfissh/cross-compile
Cross compile
- Loading branch information
Showing
4 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[target.armv7-unknown-linux-gnueabihf] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
This detects files that are byte for byte identical. Useful for freeing up space if you have a badly organized pile of media files. | ||
|
||
This should use multiple cores and tries to optimize for speed by using multiple passes. Accessing filesystem metadata is cheap, so first it traverses the filesystem to find files with the same size. If it finds multiple files with the same filesize, then it hashes the contents of the file. The CLI version should run on windows, linux and macos. The GUI version has been tested with windows and linux - not sure if it works on macos. | ||
|
||
To create an ARM compatible binary, run | ||
```sh | ||
cross build --bin cli --release --target armv7-unknown-linux-gnueabihf | ||
``` |