[buck-yeh-bux] Update to 1.6.8 (#29817)

* [bux] Add new port

* Corrections according to Create Pull Request suggested questions

* SHA512

* Mark fails into .\scripts\ci.baseline.txt

* Mark fails into .\scripts\ci.baseline.txt

* No need of "port-version": 1 in vcpkg.json

* Update version database

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update bux.json

* Update ports/bux/vcpkg.json

* update version

* Update scripts/ci.baseline.txt

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update bux support

* update version

* update version

* Rename bux to buck-yeh-bux

* Update version database

* [buck-yeh-bux] upgrade to v1.5.0

1. [New] `bux::C_ParaLog` is ready for a variety of parallel logging configurations, filtered or unfiltered.
2. [New] Necessary helper classes for implementation _s.t_ logger users no longer need to declare child source instances explicitly.
3. [New] Add methods to `ParaLog.h` & `SyncLog.h` to support testability.
4. [New] Add unit test cases to `ParaLog.h` & `SyncLog.h` (test_paralog & test_logger)
5. [New] Update what are found in `test/` to `test/archlinux/aur_poc/`
6. [Bug] `std::uniform_int_distribution<unsigned char>` no longer allowed.
7. [Change] `CUR_FUNC_` for Windows (MSVC)
8. [Change] `tbb` is no longer implicitly needed by C++ standard library.
9. [Change] `smoke_filtlog.cpp` verifies 2-level log filters ok.

* Missing comma in versions/b-/buck-yeh-bux.json

* buck-yeh-bux 1.6.0

* Corrections made according to NancyLi1013's requests in PR #20813

* Fix SHA key in versions/b-/buck-yeh-bux.json

* Update to buxk-yeh-bux v1.6.2

* [buck-yeh-bux-mariadb-client] The first release

* Add dependency to libmariadb

* Inccorect git-tree value in versions/b-/buck-yeh-bux-mariadb-client.json

* linux build is enabled

* [buck-yeh-bux] Upgrade to 1.6.3 to allow u64-linux

* linux build is disabled again for not recognizing C++20 header <concpts> yet

* Mark vcpkg.json to support Linux but ci.baseline.txt to fail the CI build

* Repair buck-buck-yeh-bux in version database.

* [buck-yeh-bux] Upgrade to 1.6.5

* [buck-yeh-bux] Upgrade to 1.6.5

* Add "license" field

* Correction nade by `./vcpkg format-manifest ports/buck-yeh-bux/vcpkg.json`

* Update according to `git rev-parse HEAD:ports/buck-yeh-bux`

* [buck-yeh-bux-mariadb-client] Upgrade to 1.0.3

* [buck-yeh-bux-sqlite] New port

* `vcpkg.json`/"supports" changed to "!(arm | uwp | osx | linux)" for all my ports

And remove the corresponding lines from `ci.baseline.txt`

* Update "port-version" & "git-tree"

* Update "port-version"

* Update "git-tree" but revert "port-version"

* Update ports/buck-yeh-bux-mariadb-client/vcpkg.json

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* Update ports/buck-yeh-bux/vcpkg.json

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* Run `./vcpkg x-add-version ...` to update port-version

* Update buck-yeh-bux-mariadb-client.json

* Update buck-yeh-bux.json

* [buck-yeh-bux] Update to 1.6.6

* [buck-yeh-bux] Update to 1.6.6

* [buck-yeh-bux] Update to 1.6.6

* [buck-yeh-bux] Update to 1.6.7

* ./vcpkg format-manifest ports/buck-yeh-bux/vcpkg.json

* Update git-tree

* [buck-yeh-bux] Bugfix & vcpkg compliance

1. [Bug] Help USAGE line for a  subcommand, if any, is displayed in wrong order.
2. [vcpkg] Merge from https://github.com/microsoft/vcpkg/pull/26248 so that `fix-clang-cl.patch` can be removed.

* Update ports/buck-yeh-bux/portfile.cmake

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* Revert REF line & try add linux support

* Revert to the previous

* Update version database

---------

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
Co-authored-by: buck-yeh <github-actions>
This commit is contained in:
Buck Yeh 2023-03-01 02:00:12 +08:00 committed by GitHub
parent 9b7a4db424
commit 9f63d315a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 38 deletions

View File

@ -1,33 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 306074e50..a032ab09e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,13 +5,13 @@ project(bux)
set(GNU_LIKE_CXX_FLAGS " -Wall -Wextra -Wshadow -Wconversion -Wno-parentheses -g3 -Og -std=c++20")
#string(APPEND CMAKE_CXX_FLAGS " -g3")
-if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT MSVC)
message("Clang")
string(APPEND CMAKE_CXX_FLAGS "${GNU_LIKE_CXX_FLAGS} -Wno-potentially-evaluated-expression")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
message("GNU")
string(APPEND CMAKE_CXX_FLAGS "${GNU_LIKE_CXX_FLAGS}")
-elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
+elseif(MSVC)
message("MSVC")
string(APPEND CMAKE_CXX_FLAGS " /Zc:__cplusplus /std:c++latest /MP")
else()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 093a1da8d..8de40efa4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -8,7 +8,7 @@ add_library(bux STATIC
XConsole.cpp XException.cpp
)
target_include_directories(bux PRIVATE ../include/bux)
-if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
+if(MSVC)
target_link_libraries(bux PRIVATE fmt::fmt)
endif()

View File

@ -1,10 +1,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO buck-yeh/bux
REF b40490e3f386392daff471e420c1cced868ea3b3 # v1.6.7
SHA512 37b6cedd884f646da1db07c15bb75a357728a30cd93ca945aaa8e0cc3d0e2f7f811468c6d0cba1735badd90c081dc2e5866c74b7410e5d3d417c9fcc62caca02
REF "v${VERSION}"
SHA512 e5dcdba0ee07d3cf63edb1e5808436d9b2de4d1e393a6e447cca82f68d1b67dc94350d55926aa90d00d6f9a032cc76446d83b206dbb906be10de9f1c15a71359
HEAD_REF main
PATCHES fix-clang-cl.patch
)
vcpkg_cmake_configure(

View File

@ -1,6 +1,6 @@
{
"name": "buck-yeh-bux",
"version": "1.6.7",
"version": "1.6.8",
"description": "A supplemental C++ library with functionalities not directly supported from Modern C++ standard.",
"homepage": "https://github.com/buck-yeh/bux",
"license": "MIT",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5163db7e9794e33e8d9842d222dcbf2d5985c4d8",
"version": "1.6.8",
"port-version": 0
},
{
"git-tree": "791735981cce69c0de499f0daa95c483461ddd38",
"version": "1.6.7",

View File

@ -1253,7 +1253,7 @@
"port-version": 0
},
"buck-yeh-bux": {
"baseline": "1.6.7",
"baseline": "1.6.8",
"port-version": 0
},
"buck-yeh-bux-mariadb-client": {