Skip to content

Commit

Permalink
Change default Linux CI compiler to gcc-11 (#16474)
Browse files Browse the repository at this point in the history
* Change default Linux CI compiler to gcc-11

* Update warning

* potential fix for timezone issue

Co-authored-by: jsteemann <jsteemann@users.noreply.github.com>
  • Loading branch information
KVS85 and jsteemann committed Jul 4, 2022
1 parent 4b8890b commit 733402d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
devel
-----

* Changed default Linux CI compiler to gcc-11.

* Updated arangosync to v2.11.0-preview-2.

* Add "AT LEAST" quantifier for array filters in AQL:

`RETURN [1,2,3][? AT LEAST (3) FILTER CURRENT > 42]`
`RETURN [1,2,3] AT LEAST (2) IN [1,2,3,4,5]`

* Added a fully functional UI for Views that lets users view, modify mutable
properties and delete views from the web UI.

* Changed default macOS CI compiler to LLVM clang-14.

* Introduce reading from followers in clusters. This works by offering
an additional HTTP header "x-arango-allow-dirty-read" for certain
read-only APIs. This header has already been used for active failover
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,8 @@ if (MSVC)
endif ()

if (CMAKE_COMPILER_IS_GNUCC)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "10.0")
message(WARNING "ArangoDB requires g++ 10.0 or newer, building with older compiler versions is unsupported")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "11.0")
message(WARNING "ArangoDB requires g++ 11.0 or newer, building with older compiler versions is unsupported")
elseif(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "11.9.9")
message(WARNING "ArangoDB doesn't support g++ 12.0 yet, building with newer compiler versions is unsupported")
endif()
Expand Down
2 changes: 1 addition & 1 deletion VERSIONS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CXX_STANDARD "20"
STARTER_REV "0.15.4"
SYNCER_REV "v2.11.0-preview-2"
GCC_LINUX "10.2.1_pre1-r3"
GCC_LINUX "11.2.1_git20220219-r2"
MSVC_WINDOWS "2019"
LLVM_CLANG_MACOS "14"
MACOS_MIN "10.15"
Expand Down
7 changes: 7 additions & 0 deletions tests/js/server/aql/aql-functions-date.js
Original file line number Diff line number Diff line change
Expand Up @@ -2554,6 +2554,13 @@ function ahuacatlDateFunctionsTestSuite () {
}

if (systemtz) {
// normalize UTC timezone names
if (systemtz.match(/UTC/)) {
systemtz = "UTC";
}
if (res.match(/UTC/)) {
res = "UTC";
}
assertEqual(systemtz, res);
} else {
assertNotNull(res);
Expand Down

0 comments on commit 733402d

Please sign in to comment.