Skip to content

Update boost to 1.84 #412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI-Linux-CUDA-Docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
linux-cuda-docker-build-no-test:
uses: ./.github/workflows/build-test-lin-container.yml
with:
runner: 'ubuntu-20.04'
runner: 'ubuntu-22.04'
flav: Linux-Cuda
is-selfhosted: false
cuda: 'ON'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-Linux-NoCUDA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
linux-nocuda-build-test:
uses: ./.github/workflows/build-test-lin.yml
with:
runner: 'ubuntu-20.04'
runner: 'ubuntu-22.04'
flav: Linux
is-selfhosted: false
cuda: 'OFF'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-lin-wsl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Prepare WSL Image
uses: Vampire/setup-wsl@v1
with:
distribution: Ubuntu-20.04
distribution: Ubuntu-22.04
- name: Prepare builder
run: |
${{ inputs.prep-cmd }}
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"xstring": "cpp",
"xtr1common": "cpp",
"xtree": "cpp",
"xutility": "cpp"
"xutility": "cpp",
"filesystem": "cpp"
}
}
3 changes: 2 additions & 1 deletion base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ENDIF(ENABLE_LINUX)
IF(ENABLE_WINDOWS)
add_compile_definitions(WINDOWS)
set(VCPKG_TARGET_TRIPLET "x64-windows" CACHE STRING "x64-windows")
set(VCPKG_PLATFORM_TOOLSET "v143" CACHE STRING "v143" FORCE)
ENDIF(ENABLE_WINDOWS)

IF(ENABLE_ARM64)
Expand Down Expand Up @@ -510,7 +511,7 @@ ENDIF(ENABLE_LINUX)
add_library(aprapipes STATIC ${SOURCE})

link_directories(${GTK3_LIBRARY_DIRS})

message(STATUS "Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}")
target_include_directories ( aprapipes PRIVATE
${JETSON_MULTIMEDIA_LIB_INCLUDE}
${GTK3_INCLUDE_DIRS}
Expand Down
3 changes: 2 additions & 1 deletion base/test/archivespacemanager_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "stdafx.h"
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/filesystem/operations.hpp>
#include "ExternalSourceModule.h"
#include "ExternalSinkModule.h"
#include "ArchiveSpaceManager.h"
Expand Down
4 changes: 2 additions & 2 deletions base/test/test_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <boost/test/unit_test.hpp>
#include <boost/test/framework.hpp>
#include "iostream"
#include <boost/filesystem.hpp>
#include <fstream>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/fstream.hpp>

#ifndef SAFE_DELETE_ARRAY
#define SAFE_DELETE_ARRAY(p) \
Expand Down
10 changes: 1 addition & 9 deletions base/vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,5 @@
"kind": "git",
"repository": "https://github.com/Apra-Labs/vcpkg.git",
"baseline": "a1c6d4f053281b8e961c24a0035903f5f9d66329"
},
"registries": [
{
"kind": "git",
"repository": "https://github.com/Apra-Labs/vcpkg.git",
"baseline": "29a017687d56121cb9d200a7dc519c0de2c78a4a",
"packages": [ "boost*", "boost-*"]
}
]
}
}
2 changes: 2 additions & 0 deletions base/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
"boost-test",
"boost-iostreams",
"boost-dll",
"boost-format",
"boost-foreach",
"nu-book-zxing-cpp",
"liblzma",
"bzip2",
Expand Down
4 changes: 2 additions & 2 deletions build_scripts/build_dependencies_windows_no_cuda.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/in

# Enable feature and install dependencies
choco feature enable -n allowEmptyChecksums
choco install 7zip git python3 cmake pkgconfiglite doxygen.portable graphviz -y
choco install 7zip git python3 pkgconfiglite doxygen.portable graphviz -y

# Install required Python packages
pip3 install ninja
pip3 install meson

# Install cmake
pip3 install cmake --upgrade
pip3 install cmake==3.30.0

Write-Host "Dependencies verified and installed successfully."
5 changes: 2 additions & 3 deletions thirdparty/custom-overlay/whisper/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Apra-Labs/whisper.cpp
REF c3bff0d121e2af823344939643d64a27e4a76ea2 #v1.5.4
SHA512 d51a32c91340d2b9f18bf5221e134e57a0259bc3a1c803ef427adc6e3de5f54c556232cd4ef070b9c07f93968efd942a61cfe311c2cbca013a928f0eb8055e6f # This is a temporary value. We will modify this value in the next section.
REF 779050a5edfb47f115cd1c1c1e010b1c533bf174 #v1.5.4
SHA512 fe354506c7377a7a6a783caccd09f1b9333394ada5046fadc77a51b1e2442089b73fcb730cea2ec82d31d205f47426349aa5e6206f294727341a829f90c127bf # This is a temporary value. We will modify this value in the next section.
HEAD_REF kj/add-Config-for-vcpkg
PATCHES "fix-for-arm64.patch"
)
Expand All @@ -19,7 +19,6 @@ if("cuda" IN_LIST FEATURES)
set(WHISPER_CUBLAS ON)
endif()


vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
Expand Down
Loading