-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[macos ci] update 2021-07-27 (#19207)
* update 2021-07-27 macOS -> 11.5.1, XCode -> 12.5.1 * update azure-pipelines * update sha of macfuse * change how macos-ci-base works * fix build errors * fix itpp:linux * more fixes * remove tab * allow version changes in all the remove/rename-version patches * fix libunistring for real * robert CR
- Loading branch information
1 parent
bd5ea16
commit ff190a5
Showing
60 changed files
with
292 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -34,14 +34,11 @@ | ||
if (MSVC) | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /wd4232") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4 /wd4232") | ||
# Make warning as error | ||
- add_definitions(/WX) | ||
else() | ||
# Make warning as error | ||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") | ||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") | ||
endif() | ||
|
||
IF(WIN32) | ||
# windows needs this define | ||
add_definitions(-D_CRT_SECURE_NO_WARNINGS) | ||
|
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,13 @@ | ||
--- a/interface/coroutine/frame.h | ||
+++ a/interface/coroutine/frame.h | ||
@@ -119,8 +119,8 @@ | ||
return *this; | ||
} | ||
// 17.12.3.2, export/import | ||
- static /*constexpr*/ coroutine_handle from_address(void* _Addr) { | ||
+ static /*constexpr*/ coroutine_handle from_address(void* _Addr) noexcept { | ||
coroutine_handle _Result{}; | ||
_Result._Ptr = reinterpret_cast<portable_coro_prefix*>(_Addr); | ||
return _Result; | ||
} | ||
|
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
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,12 @@ | ||
--- a/autogen.sh | ||
+++ b/autogen.sh | ||
@@ -25,6 +25,6 @@ | ||
|
||
-PV=$(cat VERSION | cut -d' ' -f1) | ||
-LV=$(cat VERSION | cut -d' ' -f2) | ||
-if test "x$(cat VERSION | cut -d' ' -f3)" = "xsvn"; then | ||
+PV=$(cat VERSION.txt | cut -d' ' -f1) | ||
+LV=$(cat VERSION.txt | cut -d' ' -f2) | ||
+if test "x$(cat VERSION.txt | cut -d' ' -f3)" = "xsvn"; then | ||
if test -d ".git/svn"; then | ||
REV=$(LC_ALL=C git svn find-rev HEAD) |
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,7 +1,7 @@ | ||
{ | ||
"name": "itpp", | ||
"version-semver": "4.3.1", | ||
"port-version": 6, | ||
"port-version": 7, | ||
"description": "IT++ is a C++ library of mathematical, signal processing and communication classes and functions. Its main use is in simulation of communication systems and for performing research in the area of communications.", | ||
"homepage": "http://itpp.sourceforge.net" | ||
} |
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,4 +1,5 @@ | ||
Source: libodb-boost | ||
Version: 2.4.0-3 | ||
Version: 2.4.0 | ||
Port-Version: 4 | ||
Description: Description: Boost support for the ODB ORM library | ||
Build-Depends: libodb |
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
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,5 +1,6 @@ | ||
Source: libodb-pgsql | ||
Version: 2.4.0-3 | ||
Version: 2.4.0 | ||
Port-Version: 4 | ||
Homepage: https://www.codesynthesis.com/products/odb/ | ||
Description: Description: PostgreSQL support for the ODB ORM library | ||
Build-Depends: libodb, libpq |
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,6 +1,6 @@ | ||
Source: libodb-sqlite | ||
Version: 2.4.0 | ||
Port-Version: 7 | ||
Port-Version: 8 | ||
Homepage: https://www.codesynthesis.com/products/odb/ | ||
Description: Sqlite support for the ODB ORM library | ||
Build-Depends: libodb, sqlite3 |
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,7 +1,7 @@ | ||
{ | ||
"name": "libodb", | ||
"version": "2.4.0", | ||
"port-version": 7, | ||
"port-version": 8, | ||
"description": "ODB library, base runtime for the ODB ORM solution", | ||
"homepage": "https://www.codesynthesis.com/products/odb/" | ||
} |
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,13 @@ | ||
--- a/m4/init-package-version.m4 | ||
+++ b/m4/init-package-version.m4 | ||
@@ -82,9 +82,9 @@ | ||
[AC_SUBST([PACKAGE], [$1]) | ||
AC_SUBST([VERSION], [$2]) | ||
]) | ||
m4_define([AM_INIT_AUTOMAKE], | ||
m4_defn([gl_RPL_INIT_AUTOMAKE])) | ||
]) | ||
-m4_define([gl_INIT_DUMMY], []) | ||
+m4_define([gl_INIT_DUMMY], [dummy]) | ||
AC_DEFUN([gl_RPL_INIT_AUTOMAKE], [ | ||
m4_ifval([$2], |
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 was deleted.
Oops, something went wrong.
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,13 @@ | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -20,8 +20,8 @@ | ||
######################################## | ||
## nanodbc version | ||
######################################## | ||
-file(STRINGS VERSION NANODBC_VERSION REGEX "[0-9]+\\.[0-9]+\\.[0-9]+") | ||
+file(STRINGS "VERSION.txt" NANODBC_VERSION REGEX "[0-9]+\\.[0-9]+\\.[0-9]+") | ||
string(REGEX REPLACE "^([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" NANODBC_VERSION_MAJOR "${NANODBC_VERSION}") | ||
string(REGEX REPLACE "^[0-9]+\\.([0-9])+\\.[0-9]+" "\\1" NANODBC_VERSION_MINOR "${NANODBC_VERSION}") | ||
string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" NANODBC_VERSION_PATCH "${NANODBC_VERSION}") | ||
message(STATUS "nanodbc version: ${NANODBC_VERSION}") | ||
|
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,13 @@ | ||
{ | ||
"name": "nanodbc", | ||
"version": "2.13.0", | ||
"port-version": 4, | ||
"description": "A small C++ wrapper for the native C ODBC API.", | ||
"homepage": "https://github.com/nanodbc/nanodbc", | ||
"dependencies": [ | ||
{ | ||
"name": "unixodbc", | ||
"platform": "!windows" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
{ | ||
"name": "plplot", | ||
"version-string": "5.13.0", | ||
"port-version": 10, | ||
"description": "PLplot is a cross-platform software package for creating scientific plots whose (UTF-8) plot symbols and text are limited in practice only by what Unicode-aware system fonts are installed on a user's computer.", | ||
"dependencies": [ | ||
"bzip2", | ||
"freetype", | ||
"libpng", | ||
"zlib" | ||
], | ||
"features": { | ||
"wxwidgets": { | ||
"description": "plplot wxwidgets module", | ||
"dependencies": [ | ||
"wxwidgets" | ||
] | ||
} | ||
} | ||
} |
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,23 @@ | ||
--- a/selene/img/pixel/Pixel.hpp | ||
+++ b/selene/img/pixel/Pixel.hpp | ||
@@ -45,6 +45,6 @@ | ||
constexpr Pixel() noexcept = default; ///< Default constructor. Pixel values are uninitialized. | ||
|
||
- template <typename... Args, typename = std::enable_if_t<sizeof...(Args) == nr_channels_>> | ||
- constexpr Pixel(Args... args) noexcept; | ||
+ template <typename Arg1, typename... Args, typename = std::enable_if_t<sizeof...(Args) + 1 == nr_channels_>> | ||
+ constexpr Pixel(Arg1 arg1, Args... args) noexcept; | ||
|
||
constexpr explicit Pixel(const std::array<T, nr_channels>& arr) noexcept; | ||
@@ -216,8 +216,8 @@ | ||
template <typename T, std::size_t nr_channels_, PixelFormat pixel_format_> | ||
-template <typename... Args, typename> | ||
-constexpr Pixel<T, nr_channels_, pixel_format_>::Pixel(Args... args) noexcept | ||
- : data_{{static_cast<T>(args)...}} | ||
+template <typename Arg1, typename... Args, typename> | ||
+constexpr Pixel<T, nr_channels_, pixel_format_>::Pixel(Arg1 arg1, Args... args) noexcept | ||
+ : data_{{static_cast<T>(arg1), static_cast<T>(args)...}} | ||
{ | ||
static_assert(std::is_trivial<Pixel<T, nr_channels_, pixel_format_>>::value, "Pixel type is not trivial"); | ||
static_assert(std::is_standard_layout<Pixel<T, nr_channels_, pixel_format_>>::value, | ||
"Pixel type is not standard layout"); |
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 was deleted.
Oops, something went wrong.
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,8 @@ | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -15,4 +15,4 @@ | ||
cmake_minimum_required(VERSION 3.1 FATAL_ERROR) | ||
-file(STRINGS "VERSION" SPM_VERSION) | ||
+file(STRINGS "VERSION.txt" SPM_VERSION) | ||
message(STATUS "VERSION: ${SPM_VERSION}") | ||
project(sentencepiece VERSION ${SPM_VERSION} LANGUAGES CXX) |
Oops, something went wrong.