Skip to content

Commit

Permalink
Update CHANGELOG.md and fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Aug 9, 2024
1 parent 56fce74 commit a7d8976
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 34 deletions.
12 changes: 6 additions & 6 deletions .github/actions/deploy-centos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,14 @@ runs:
if [[ "$CI_DEPLOY_MODULE" == "nvcodec" ]]; then
echo Installing NVIDIA Video Codec SDK
python3 -m gdown.cli https://drive.google.com/uc?id=13KyYoq8ZOLIA7jugDkdFma34mnyxnz4x
python3 -m gdown 13KyYoq8ZOLIA7jugDkdFma34mnyxnz4x
unzip Video_Codec_SDK_12.1.14.zip -d /usr/local
ln -sf /usr/local/Video_Codec_SDK_* /usr/local/videocodecsdk
fi
if [[ "$CI_DEPLOY_MODULE" == "tensorrt" ]]; then
echo Installing TensorRT
python3 -m gdown.cli https://drive.google.com/uc?id=1dVhD-DEYY42QbZe1GXl-vxe3k6KqWGsL
python3 -m gdown 1dVhD-DEYY42QbZe1GXl-vxe3k6KqWGsL
tar -hxvf TensorRT-8.6.1.6.Linux.x86_64-gnu.cuda-12.0.tar.gz -C /usr/local/
ln -sf /usr/local/TensorRT* /usr/local/tensorrt
fi
Expand All @@ -142,21 +142,21 @@ runs:
if [[ "$CI_DEPLOY_PLATFORM" == "linux-x86" ]] && [[ "$CI_DEPLOY_MODULE" == "flycapture" ]]; then
echo Installing FlyCapture i386
python3 -m gdown.cli https://drive.google.com/uc?id=1BOpSik1Fndagzjf4ykwzermt2qlTzsWI
python3 -m gdown 1BOpSik1Fndagzjf4ykwzermt2qlTzsWI
tar -xzvf flycapture2-2.13.3.31-i386-pkg_xenial.tgz
find -name *.deb | while read f; do ar -xv $f; tar --totals -xf data.tar.xz -C /; done;
fi
if [[ "$CI_DEPLOY_PLATFORM" == "linux-x86_64" ]] && [[ "$CI_DEPLOY_MODULE" == "flycapture" ]]; then
echo Installing FlyCapture amd64
python3 -m gdown.cli https://drive.google.com/uc?id=1YtVjdnbQLZHX_ocQ6xAmiq6pjftuPOPd
python3 -m gdown 1YtVjdnbQLZHX_ocQ6xAmiq6pjftuPOPd
tar -xzvf flycapture2-2.13.3.31-amd64-pkg_xenial.tgz
find -name *.deb | while read f; do ar -xv $f; tar --totals -xf data.tar.xz -C /; done;
fi
if [[ "$CI_DEPLOY_PLATFORM" == "linux-x86_64" ]] && [[ "$CI_DEPLOY_MODULE" == "spinnaker" ]]; then
echo Installing Spinnaker amd64
python3 -m gdown.cli https://drive.google.com/file/d/1Xapzvxrgx1w3RCbAOFILaNCZwpusB_VA
python3 -m gdown 1Xapzvxrgx1w3RCbAOFILaNCZwpusB_VA
tar -xzvf spinnaker-4.0.0.116-amd64-pkg-22.04.tar.gz
find -name *.deb | while read f; do ar -xv $f; tar --totals -xvf data.tar.xz -C /; done;
fi
Expand All @@ -174,7 +174,7 @@ runs:
GRADLE_TASK=publish
MAVEN_PHASE=deploy
if [[ "$GITHUB_EVENT_HEAD_COMMIT_MESSAGE" == Release* ]] || [[ "${GITHUB_REF#refs/heads/}" == "release" ]]; then
python3 -m gdown.cli -q -O settings.tar.gz https://drive.google.com/uc?id=$CI_DEPLOY_SETTINGS
python3 -m gdown -q -O settings.tar.gz $CI_DEPLOY_SETTINGS
tar -xzf settings.tar.gz
MAVEN_OPTIONS="$MAVEN_OPTIONS -Dgpg.homedir=$(pwd)/.gnupg/ -DperformRelease -DstagingRepositoryId=$STAGING_REPOSITORY"
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/deploy-macosx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ runs:
GRADLE_TASK=publish
MAVEN_PHASE=deploy
if [[ "$GITHUB_EVENT_HEAD_COMMIT_MESSAGE" == Release* ]] || [[ "${GITHUB_REF#refs/heads/}" == "release" ]]; then
python3 -m gdown.cli -q -O settings.tar.gz https://drive.google.com/uc?id=$CI_DEPLOY_SETTINGS
python3 -m gdown -q -O settings.tar.gz $CI_DEPLOY_SETTINGS
tar -xzf settings.tar.gz
MAVEN_OPTIONS="$MAVEN_OPTIONS -Dgpg.homedir=$(pwd)/.gnupg/ -DperformRelease -DstagingRepositoryId=$STAGING_REPOSITORY"
fi
Expand Down
19 changes: 9 additions & 10 deletions .github/actions/deploy-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ runs:
# $SUDO apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA6932366A755776
$SUDO apt-get update
$SUDO apt-get -y install gcc-multilib g++-multilib gfortran-multilib python3 python2.7 python3-minimal python2.7-minimal rpm libasound2-dev:$ARCH freeglut3-dev:$ARCH libfontconfig-dev:$ARCH libgtk2.0-dev:$ARCH libusb-dev:$ARCH libusb-1.0-0-dev:$ARCH libffi-dev:$ARCH libbz2-dev:$ARCH zlib1g-dev:$ARCH libxcb1-dev:$ARCH libpulse-dev:$ARCH
$SUDO apt-get -y install pkg-config ccache clang $TOOLCHAIN openjdk-8-jdk ant python2 python3-pip swig git file wget unzip tar bzip2 gzip patch autoconf-archive autogen automake cmake make libtool bison flex perl nasm ragel curl libcurl4-openssl-dev libssl-dev libffi-dev libbz2-dev zlib1g-dev rapidjson-dev libdrm-dev
$SUDO apt-get -y install zstd
$SUDO apt-get -y install pkg-config ccache clang $TOOLCHAIN openjdk-8-jdk ant python2 python3-pip swig git file wget unzip tar bzip2 gzip patch autoconf-archive autogen automake cmake make libtool bison flex perl nasm ragel curl libcurl4-openssl-dev libssl-dev libffi-dev libbz2-dev zlib1g-dev rapidjson-dev libdrm-dev zstd-dev
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
Expand Down Expand Up @@ -215,22 +214,22 @@ runs:
if [[ "$CI_DEPLOY_MODULE" == "nvcodec" ]]; then
echo Installing NVIDIA Video Codec SDK
python3 -m gdown.cli https://drive.google.com/uc?id=13KyYoq8ZOLIA7jugDkdFma34mnyxnz4x
python3 -m gdown 13KyYoq8ZOLIA7jugDkdFma34mnyxnz4x
$SUDO unzip Video_Codec_SDK_12.1.14.zip -d /usr/local
$SUDO ln -sf /usr/local/Video_Codec_SDK_* /usr/local/videocodecsdk
fi
if [[ "$CI_DEPLOY_PLATFORM" == "linux-arm64" ]] && [[ "$CI_DEPLOY_MODULE" == "tensorrt" ]]; then
echo Installing TensorRT
# python3 -m gdown.cli https://drive.google.com/uc?id=1LZRCv4ZAGiDQAu4pvADJIGntq4cGl5tU
# python3 -m gdown 1LZRCv4ZAGiDQAu4pvADJIGntq4cGl5tU
curl -LO https://developer.download.nvidia.com/compute/machine-learning/tensorrt/10.0.1/tars/TensorRT-10.0.1.6.Ubuntu-22.04.aarch64-gnu.cuda-12.4.tar.gz
$SUDO tar -hxvf TensorRT-10.0.1.6.Ubuntu-22.04.aarch64-gnu.cuda-12.4.tar.gz -C /usr/local/
$SUDO ln -sf /usr/local/TensorRT* /usr/local/tensorrt
fi
if [[ "$CI_DEPLOY_PLATFORM" == "linux-x86_64" ]] && [[ "$CI_DEPLOY_MODULE" == "tensorrt" ]]; then
echo Installing TensorRT
# python3 -m gdown.cli https://drive.google.com/uc?id=1dVhD-DEYY42QbZe1GXl-vxe3k6KqWGsL
# python3 -m gdown 1dVhD-DEYY42QbZe1GXl-vxe3k6KqWGsL
curl -LO https://developer.download.nvidia.com/compute/machine-learning/tensorrt/10.0.1/tars/TensorRT-10.0.1.6.Linux.x86_64-gnu.cuda-12.4.tar.gz
$SUDO tar -hxvf TensorRT-10.0.1.6.Linux.x86_64-gnu.cuda-12.4.tar.gz -C /usr/local/
$SUDO ln -sf /usr/local/TensorRT* /usr/local/tensorrt
Expand All @@ -245,28 +244,28 @@ runs:
if [[ "$CI_DEPLOY_PLATFORM" == "linux-armhf" ]] && [[ "$CI_DEPLOY_MODULE" == "flycapture" ]]; then
echo Installing FlyCapture amdhf
python3 -m gdown.cli https://drive.google.com/uc?id=16NuUBs2MXQpVYqzDCEr9KdMng-6rHuDI
python3 -m gdown 16NuUBs2MXQpVYqzDCEr9KdMng-6rHuDI
mkdir -p $GITHUB_WORKSPACE/downloads
ln -s $(pwd)/flycapture.2.13.3.31_armhf_xenial.tar.gz $GITHUB_WORKSPACE/downloads/flycapture.2.13.3.31_armhf.tar.gz
fi
if [[ "$CI_DEPLOY_PLATFORM" == "linux-arm64" ]] && [[ "$CI_DEPLOY_MODULE" == "flycapture" ]]; then
echo Installing FlyCapture amd64
python3 -m gdown.cli https://drive.google.com/uc?id=1LhnuRMT3urYsApCcuBEcaotGRK8h4kJv
python3 -m gdown 1LhnuRMT3urYsApCcuBEcaotGRK8h4kJv
mkdir -p $GITHUB_WORKSPACE/downloads
ln -s $(pwd)/flycapture.2.13.3.31_arm64_xenial.tar.gz $GITHUB_WORKSPACE/downloads/flycapture.2.13.3.31_arm64.tar.gz
fi
if [[ "$CI_DEPLOY_PLATFORM" == "linux-x86" ]] && [[ "$CI_DEPLOY_MODULE" == "flycapture" ]]; then
echo Installing FlyCapture i386
python3 -m gdown.cli https://drive.google.com/uc?id=1BOpSik1Fndagzjf4ykwzermt2qlTzsWI
python3 -m gdown 1BOpSik1Fndagzjf4ykwzermt2qlTzsWI
tar -xzvf flycapture2-2.13.3.31-i386-pkg_xenial.tgz
find -name *.deb | while read f; do ar -xv $f; $SUDO tar --totals -xf data.tar.xz -C /; done;
fi
if [[ "$CI_DEPLOY_PLATFORM" == "linux-x86_64" ]] && [[ "$CI_DEPLOY_MODULE" == "flycapture" ]]; then
echo Installing FlyCapture amd64
python3 -m gdown.cli https://drive.google.com/uc?id=1YtVjdnbQLZHX_ocQ6xAmiq6pjftuPOPd
python3 -m gdown 1YtVjdnbQLZHX_ocQ6xAmiq6pjftuPOPd
tar -xzvf flycapture2-2.13.3.31-amd64-pkg_xenial.tgz
find -name *.deb | while read f; do ar -xv $f; $SUDO tar --totals -xf data.tar.xz -C /; done;
fi
Expand All @@ -284,7 +283,7 @@ runs:
GRADLE_TASK=publish
MAVEN_PHASE=deploy
if [[ "$GITHUB_EVENT_HEAD_COMMIT_MESSAGE" == Release* ]] || [[ "${GITHUB_REF#refs/heads/}" == "release" ]]; then
python3 -m gdown.cli -q -O settings.tar.gz https://drive.google.com/uc?id=$CI_DEPLOY_SETTINGS
python3 -m gdown -q -O settings.tar.gz $CI_DEPLOY_SETTINGS
tar -xzf settings.tar.gz
MAVEN_OPTIONS="$MAVEN_OPTIONS -Dgpg.homedir=$(pwd)/.gnupg/ -DperformRelease -DstagingRepositoryId=$STAGING_REPOSITORY"
fi
Expand Down
12 changes: 6 additions & 6 deletions .github/actions/deploy-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ runs:
curl -LO https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_522.06_windows.exe
curl -LO https://developer.download.nvidia.com/compute/cuda/12.3.2/local_installers/cuda_12.3.2_546.12_windows.exe
rem curl -LO https://developer.download.nvidia.com/compute/redist/cudnn/v8.8.0/local_installers/12.0/cudnn_8.8.0.121_windows.exe
rem python -m gdown.cli https://drive.google.com/uc?id=135Z7zfwguQe6vn7p013HtVkHFu9-_rru
rem python -m gdown 135Z7zfwguQe6vn7p013HtVkHFu9-_rru
curl -LO https://github.com/bytedeco/binaries/releases/download/1.5.10/cudnn-windows-x86_64-8.9.7.29_cuda12-archive.zip
curl -LO http://www.winimage.com/zLibDll/zlib123dllx64.zip
curl -LO https://developer.download.nvidia.com/compute/nvcomp/3.0.5/local_installers/nvcomp_3.0.5_windows_12.x.zip
Expand Down Expand Up @@ -142,14 +142,14 @@ runs:
if "%CI_DEPLOY_MODULE%"=="nvcodec" (
echo Installing NVIDIA Video Codec SDK
python -m gdown.cli https://drive.google.com/uc?id=13KyYoq8ZOLIA7jugDkdFma34mnyxnz4x
python -m gdown 13KyYoq8ZOLIA7jugDkdFma34mnyxnz4x
unzip Video_Codec_SDK_12.1.14.zip
move Video_Codec_SDK_12.1.14 "%ProgramFiles%\NVIDIA GPU Computing Toolkit\VideoCodecSDK"
)
if "%CI_DEPLOY_MODULE%"=="tensorrt" (
echo Installing TensorRT
rem python -m gdown.cli https://drive.google.com/uc?id=1GfmJ1BKbacLpUU-0i_mGu0sjrAS0Xzzi
rem python -m gdown 1GfmJ1BKbacLpUU-0i_mGu0sjrAS0Xzzi
curl -LO https://developer.download.nvidia.com/compute/machine-learning/tensorrt/10.0.1/zip/TensorRT-10.0.1.6.Windows10.win10.cuda-12.4.zip
unzip TensorRT-10.0.1.6.Windows10.win10.cuda-12.4.zip
move TensorRT-10.0.1.6 "%ProgramFiles%\NVIDIA GPU Computing Toolkit\TensorRT"
Expand All @@ -163,14 +163,14 @@ runs:
if "%CI_DEPLOY_PLATFORM%"=="windows-x86" if "%CI_DEPLOY_MODULE%"=="flycapture" (
echo Installing FlyCapture x86
python -m gdown.cli https://drive.google.com/uc?id=1ctSSAMF5IkxTKWiiLtID-ltmm27pHFdr
python -m gdown 1ctSSAMF5IkxTKWiiLtID-ltmm27pHFdr
rem We can get this msi file by starting the installation from the exe file
cmd.exe /c "msiexec /quiet /i FlyCapture_2.13.3.31_x86.msi ADDLOCAL=ALL"
)
if "%CI_DEPLOY_PLATFORM%"=="windows-x86_64" if "%CI_DEPLOY_MODULE%"=="flycapture" (
echo Installing FlyCapture x64
python -m gdown.cli https://drive.google.com/uc?id=14QM7W5RHhvZanF1UBobgEIvwdy6VwTht
python -m gdown 14QM7W5RHhvZanF1UBobgEIvwdy6VwTht
rem We can get this msi file by starting the installation from the exe file
cmd.exe /c "msiexec /quiet /i FlyCapture_2.13.3.31_x64.msi ADDLOCAL=ALL"
)
Expand All @@ -193,7 +193,7 @@ runs:
set GRADLE_TASK=publish
set MAVEN_PHASE=deploy
if "%DEPLOY%"=="RELEASE" (
python -m gdown.cli -q -O settings.tar.gz https://drive.google.com/uc?id=%CI_DEPLOY_SETTINGS%
python -m gdown -q -O settings.tar.gz %CI_DEPLOY_SETTINGS%
bash -c "tar -xzf settings.tar.gz -C $HOME"
set "MAVEN_OPTIONS=%MAVEN_OPTIONS% -DperformRelease -DstagingRepositoryId=%STAGING_REPOSITORY%"
)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/spinnaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
linux-x86_64:
runs-on: ubuntu-20.04
steps:
- uses: jpsacha/javacpp-presets/.github/actions/deploy-ubuntu@Spinnaker_4.0.0.116
- uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions
windows-x86_64:
runs-on: windows-2019
steps:
- uses: jpsacha/javacpp-presets/.github/actions/deploy-windows@Spinnaker_4.0.0.116
- uses: bytedeco/javacpp-presets/.github/actions/deploy-windows@actions
redeploy:
needs: [linux-x86_64, windows-x86_64]
runs-on: ubuntu-20.04
steps:
- uses: jpsacha/javacpp-presets/.github/actions/redeploy@Spinnaker_4.0.0.116
- uses: bytedeco/javacpp-presets/.github/actions/redeploy@actions
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Build FFmpeg with zimg to enable zscale filter ([pull #1481](https://github.com/bytedeco/javacpp-presets/pull/1481))
* Enable PulseAudio support for FFmpeg on Linux ([pull #1472](https://github.com/bytedeco/javacpp-presets/pull/1472))
* Virtualize `btCollisionWorld`, `btOverlapFilterCallback`, `btOverlapCallback` from Bullet Physics SDK ([pull #1475](https://github.com/bytedeco/javacpp-presets/pull/1475))
* Upgrade presets for OpenCV 4.10.0, FFmpeg 7.0, DNNL 3.4.1, OpenBLAS 0.3.27, CMINPACK 1.3.9, GSL 2.8, CPython 3.12.4, NumPy 2.0.0, SciPy 1.14.0, LLVM 18.1.4, LibRaw 0.21.2 ([pull #1520](https://github.com/bytedeco/javacpp-presets/pull/1520)), Tesseract 5.4.1, libffi 3.4.6, PyTorch 2.3.0 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.16.1, TensorRT 10.0.1.6, Triton Inference Server 2.44.0, ONNX 1.16.1, ONNX Runtime 1.18.0, TVM 0.16.0, and their dependencies
* Upgrade presets for OpenCV 4.10.0, FFmpeg 7.0, Spinnaker 4.0.0.116 ([pull #1524](https://github.com/bytedeco/javacpp-presets/pull/1524)), DNNL 3.4.1, OpenBLAS 0.3.27, CMINPACK 1.3.9, GSL 2.8, CPython 3.12.4, NumPy 2.0.0, SciPy 1.14.0, LLVM 18.1.4, LibRaw 0.21.2 ([pull #1520](https://github.com/bytedeco/javacpp-presets/pull/1520)), Tesseract 5.4.1, libffi 3.4.6, PyTorch 2.3.0 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466)), SentencePiece 0.2.0, TensorFlow Lite 2.16.1, TensorRT 10.0.1.6, Triton Inference Server 2.44.0, ONNX 1.16.1, ONNX Runtime 1.18.0, TVM 0.16.0, and their dependencies

### January 29, 2024 version 1.5.10
* Introduce `macosx-arm64` builds for PyTorch ([pull #1463](https://github.com/bytedeco/javacpp-presets/pull/1463))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip
* OpenCV 4.10.x https://opencv.org/releases/
* FFmpeg 7.0.x http://ffmpeg.org/download.html
* FlyCapture 2.13.x https://www.flir.com/products/flycapture-sdk
* Spinnaker 3.0.x https://www.flir.com/products/spinnaker-sdk
* Spinnaker 4.0.x https://www.flir.com/products/spinnaker-sdk
* libdc1394 2.2.6 http://sourceforge.net/projects/libdc1394/files/
* libfreenect 0.5.7 https://github.com/OpenKinect/libfreenect
* libfreenect2 0.2.0 https://github.com/OpenKinect/libfreenect2
Expand Down
12 changes: 6 additions & 6 deletions platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<module>../opencv/platform</module>
<module>../ffmpeg/platform</module>
<!-- <module>../flycapture/platform</module>-->
<!-- <module>../spinnaker/platform</module>-->
<module>../spinnaker/platform</module>
<!-- <module>../libdc1394/platform</module>-->
<!-- <module>../libfreenect/platform</module>-->
<!-- <module>../libfreenect2/platform</module>-->
Expand Down Expand Up @@ -99,11 +99,11 @@
<!-- <artifactId>flycapture-platform</artifactId>-->
<!-- <version>2.13.3.31-${project.version}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.bytedeco</groupId>-->
<!-- <artifactId>spinnaker-platform</artifactId>-->
<!-- <version>4.0.0.116-${project.version}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>spinnaker-platform</artifactId>
<version>4.0.0.116-${project.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.bytedeco</groupId>-->
<!-- <artifactId>libdc1394-platform</artifactId>-->
Expand Down

0 comments on commit a7d8976

Please sign in to comment.