-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enable linux aarch64 * Gradle snapshot build
- Loading branch information
1 parent
2fc38ff
commit 304d32d
Showing
3 changed files
with
19 additions
and
11 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 |
---|---|---|
@@ -1,19 +1,21 @@ | ||
mkdir -p build | ||
pushd build | ||
|
||
mkdir -p darwin-aarch64 darwin-x86-64 linux-x86-64 win32-x86-64 licenses | ||
cp ../artifacts/libopenslide.so linux-x86-64 | ||
cp ../artifacts/libopenslide.dylib darwin-aarch64 | ||
cp ../artifacts/libopenslide.dylib darwin-x86-64 | ||
cp ../artifacts/libopenslide*.dll win32-x86-64/openslide.dll | ||
mkdir -p darwin-aarch64 darwin-x86-64 linux-x86-64 win32-x86-64 linux-aarch64 licenses | ||
cp ../artifacts/linux-x86_64/libopenslide.so linux-x86-64 | ||
cp ../artifacts/linux-aarch64/libopenslide.so linux-aarch64 | ||
cp ../artifacts/macos-arm64-x86_64/libopenslide.dylib darwin-aarch64 | ||
cp ../artifacts/macos-arm64-x86_64/libopenslide.dylib darwin-x86-64 | ||
cp ../artifacts/windows-x64/libopenslide*.dll win32-x86-64/openslide.dll | ||
cp -r ../downloads/openslide-bin-*-linux-x86_64/licenses/* licenses | ||
cp -r ../downloads/openslide-bin-*-macos-arm64-x86_64/licenses/* licenses | ||
cp -r ../downloads/openslide-bin-*-windows-x64/licenses/* licenses | ||
|
||
jar cvf openslide-natives-darwin-aarch64.jar darwin-aarch64 licenses | ||
jar cvf openslide-natives-darwin-x86-64.jar darwin-x86-64 licenses | ||
jar cvf openslide-natives-linux-x86-64.jar linux-x86-64 licenses | ||
jar cvf openslide-natives-linux-aarch64.jar linux-aarch64 licenses | ||
jar cvf openslide-natives-win32-x86-64.jar win32-x86-64 licenses | ||
jar cvf openslide-natives.jar linux-x86-64 darwin-x86-64 darwin-aarch64 win32-x86-64 licenses | ||
jar cvf openslide-natives.jar linux-x86-64 linux-aarch64 darwin-x86-64 darwin-aarch64 win32-x86-64 licenses | ||
|
||
popd |