Skip to content

Commit 0ce0e3e

Browse files
committed
release 3.0.4.1
1 parent db13136 commit 0ce0e3e

87 files changed

Lines changed: 3517 additions & 5839 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-format

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
#
18+
# Modified from the Apache Arrow project for the Terrier project.
19+
#
20+
21+
---
22+
BasedOnStyle: LLVM
23+
TabWidth: 4
24+
IndentWidth: 4
25+
ColumnLimit: 120
26+
AllowShortFunctionsOnASingleLine: false
27+
---
28+
# AlignAfterOpenBracket: DontAlign
29+
# ContinuationIndentWidth: 8
30+
AlignAfterOpenBracket: Align
31+
UseTab: Never
32+
DerivePointerAlignment: false
33+
PointerAlignment: Right
34+
AlignConsecutiveMacros: true
35+
AlignTrailingComments: true
36+
AllowAllArgumentsOnNextLine: true
37+
AllowAllConstructorInitializersOnNextLine: true
38+
ConstructorInitializerIndentWidth: 4
39+
AllowAllParametersOfDeclarationOnNextLine: true
40+
SpaceBeforeCtorInitializerColon: true
41+
SpaceBeforeInheritanceColon: true
42+
SpacesInAngles: false
43+
SpacesInCStyleCastParentheses: false
44+
SpacesInConditionalStatement: false
45+
AllowShortLambdasOnASingleLine: Inline
46+
AllowShortLoopsOnASingleLine: false
47+
AlwaysBreakTemplateDeclarations: Yes
48+
AlignEscapedNewlines: Left
49+
50+
SortIncludes: true
51+
IncludeBlocks: Regroup
52+
IncludeCategories:
53+
- Regex: '^".+/.+"' # "foo/b.h"
54+
Priority: 10
55+
SortPriority: 10
56+
- Regex: '^".*"' # "c.h"
57+
Priority: 20
58+
SortPriority: 20
59+
- Regex: '^<[^/]+>$' # <vector>
60+
Priority: 30
61+
SortPriority: 30
62+
63+
# true: false:
64+
# Foo foo { bar }; vs. Foo foo{ bar };
65+
SpaceBeforeCpp11BracedList: false
66+
67+
IndentCaseLabels: true
68+
69+
Language: Cpp
70+
AccessModifierOffset: -4
71+
72+
InsertNewlineAtEOF: true
73+
BreakBeforeBraces: Attach
74+
AllowShortIfStatementsOnASingleLine: Never
75+
AllowShortBlocksOnASingleLine: Never
76+
NamespaceIndentation: None
77+
BreakBeforeBinaryOperators: NonAssignment
78+
SpaceAfterTemplateKeyword: true
79+
SpaceBeforeParens: ControlStatements
80+
81+
---

.clang-tidy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Checks: 'modernize-use-override,misc-unused-parameters'
2+
HeaderFilterRegex: 'core/include/.*'
3+
WarningsAsErrors: ''
4+
FormatStyle: file
5+
CheckOptions:
6+
- key: misc-unused-parameters.StrictMode
7+
value: 'true'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99
/.python-version
1010
**/__pycache__/*
1111
/.cache/
12+
13+
compile_commands.json

.gitlab-ci.yml

Lines changed: 199 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
stages:
22
- build-v1
33
- build-v2
4+
- upload-ftp-v1
5+
- upload-ftp-v2
46

5-
linux:x86_64:
7+
linux:x86_64:v2:
68
stage: build-v2
79
needs: []
810
variables:
@@ -22,6 +24,7 @@ linux:x86_64:
2224
name: "$CI_PROJECT_NAME-$CI_JOB_NAME"
2325
paths:
2426
- wheelhouse/
27+
expire_in: 1 week
2528
tags:
2629
- Linux-x86_64
2730
rules:
@@ -30,7 +33,7 @@ linux:x86_64:
3033
- when: manual
3134
allow_failure: false
3235

33-
linux:arm64:
36+
linux:arm64:v2:
3437
stage: build-v2
3538
needs: []
3639
variables:
@@ -50,6 +53,7 @@ linux:arm64:
5053
name: "$CI_PROJECT_NAME-$CI_JOB_NAME"
5154
paths:
5255
- wheelhouse/
56+
expire_in: 1 week
5357
tags:
5458
- Linux-arm64
5559
rules:
@@ -58,7 +62,7 @@ linux:arm64:
5862
- when: manual
5963
allow_failure: false
6064

61-
win:amd64:
65+
win:amd64:v2:
6266
stage: build-v2
6367
needs: []
6468
variables:
@@ -85,6 +89,7 @@ win:amd64:
8589
name: "$CI_PROJECT_NAME-$CI_JOB_NAME"
8690
paths:
8791
- wheelhouse/
92+
expire_in: 1 week
8893
tags:
8994
- Windows-amd64
9095
rules:
@@ -93,7 +98,7 @@ win:amd64:
9398
- when: manual
9499
allow_failure: false
95100

96-
mac:universal2: # This job runs in the build stage, which runs first.
101+
mac:universal2:v2:
97102
stage: build-v2
98103
needs: []
99104
variables:
@@ -116,6 +121,7 @@ mac:universal2: # This job runs in the build stage, which runs first.
116121
name: "$CI_PROJECT_NAME-$CI_JOB_NAME"
117122
paths:
118123
- wheelhouse/
124+
expire_in: 1 week
119125
tags:
120126
- MacOS-universal2
121127
rules:
@@ -143,6 +149,7 @@ linux:x86_64:v1:
143149
name: "$CI_PROJECT_NAME-$CI_JOB_NAME"
144150
paths:
145151
- wheelhouse/
152+
expire_in: 1 week
146153
tags:
147154
- Linux-x86_64
148155
rules:
@@ -170,6 +177,7 @@ linux:arm64:v1:
170177
name: "$CI_PROJECT_NAME-$CI_JOB_NAME"
171178
paths:
172179
- wheelhouse/
180+
expire_in: 1 week
173181
tags:
174182
- Linux-arm64
175183
rules:
@@ -203,6 +211,7 @@ win:amd64:v1:
203211
name: "$CI_PROJECT_NAME-$CI_JOB_NAME"
204212
paths:
205213
- wheelhouse/
214+
expire_in: 1 week
206215
tags:
207216
- Windows-amd64
208217
rules:
@@ -231,10 +240,195 @@ mac:universal2:v1:
231240
name: "$CI_PROJECT_NAME-$CI_JOB_NAME"
232241
paths:
233242
- wheelhouse/
243+
expire_in: 1 week
234244
tags:
235245
- MacOS-universal2
236246
rules:
237247
- if: $CI_PIPELINE_TRIGGERED == "true"
238248
allow_failure: false
239249
- when: manual
240-
allow_failure: false
250+
allow_failure: false
251+
252+
253+
linux:x86_64:v1:upload:
254+
stage: upload-ftp-v1
255+
environment:
256+
name: linux_x86_64_v1_upload
257+
needs:
258+
- linux:x86_64:v1
259+
script:
260+
- echo "UPLOAD TO FTP SERVER:" $CI_CUS_FTP_HOST
261+
- echo "PATH:" $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/linux_x86_64/v1/
262+
- echo "BRANCH:" $CI_COMMIT_REF_NAME
263+
- pwd
264+
- ls -l wheelhouse/
265+
- |
266+
$CI_CUS_LINUX_X86_PYTHON_PATH scripts/upload_ftp.py \
267+
--host $CI_CUS_FTP_HOST \
268+
--user $CI_CUS_FTP_USER \
269+
--passwd $CI_CUS_FTP_PASSWD \
270+
--local wheelhouse \
271+
--remote $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/linux_x86_64/v1/
272+
tags:
273+
- Linux-x86_64
274+
275+
276+
linux:arm64:v1:upload:
277+
stage: upload-ftp-v1
278+
environment:
279+
name: linux_arm64_v1_upload
280+
needs:
281+
- linux:arm64:v1
282+
script:
283+
- echo "UPLOAD TO FTP SERVER:" $CI_CUS_FTP_HOST
284+
- echo "PATH:" $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/linux_arm64/v1/
285+
- echo "BRANCH:" $CI_COMMIT_REF_NAME
286+
- pwd
287+
- ls -l wheelhouse/
288+
- |
289+
$CI_CUS_LINUX_X86_PYTHON_PATH scripts/upload_ftp.py \
290+
--host $CI_CUS_FTP_HOST \
291+
--user $CI_CUS_FTP_USER \
292+
--passwd $CI_CUS_FTP_PASSWD \
293+
--local wheelhouse \
294+
--remote $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/linux_arm64/v1/
295+
tags:
296+
- Linux-x86_64
297+
298+
299+
win:amd64:v1:upload:
300+
stage: upload-ftp-v1
301+
environment:
302+
name: win_amd64_v1_upload
303+
needs:
304+
- win:amd64:v1
305+
script:
306+
- echo "UPLOAD TO FTP SERVER:" $CI_CUS_FTP_HOST
307+
- echo "PATH:" $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/win_amd64/v1/
308+
- echo "BRANCH:" $CI_COMMIT_REF_NAME
309+
- pwd
310+
- dir wheelhouse/
311+
- |
312+
$CI_CUS_LINUX_X86_PYTHON_PATH scripts/upload_ftp.py \
313+
--host $CI_CUS_FTP_HOST \
314+
--user $CI_CUS_FTP_USER \
315+
--passwd $CI_CUS_FTP_PASSWD \
316+
--local wheelhouse \
317+
--remote $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/win_amd64/v1/
318+
tags:
319+
- Linux-x86_64
320+
321+
322+
mac:universal2:v1:upload:
323+
stage: upload-ftp-v1
324+
environment:
325+
name: mac_universal2_v1_upload
326+
needs:
327+
- mac:universal2:v1
328+
script:
329+
- echo "UPLOAD TO FTP SERVER:" $CI_CUS_FTP_HOST
330+
- echo "PATH:" $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/mac_universal2/v1/
331+
- echo "BRANCH:" $CI_COMMIT_REF_NAME
332+
- pwd
333+
- ls -l wheelhouse/
334+
- |
335+
$CI_CUS_LINUX_X86_PYTHON_PATH scripts/upload_ftp.py \
336+
--host $CI_CUS_FTP_HOST \
337+
--user $CI_CUS_FTP_USER \
338+
--passwd $CI_CUS_FTP_PASSWD \
339+
--local wheelhouse \
340+
--remote $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/mac_universal2/v1/
341+
tags:
342+
- Linux-x86_64
343+
344+
345+
linux:x86_64:v2:upload:
346+
stage: upload-ftp-v2
347+
environment:
348+
name: linux_x86_64_v2_upload
349+
needs:
350+
- linux:x86_64:v2
351+
script:
352+
- echo "UPLOAD TO FTP SERVER:" $CI_CUS_FTP_HOST
353+
- echo "PATH:" $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/linux_x86_64/v2/
354+
- echo "BRANCH:" $CI_COMMIT_REF_NAME
355+
- pwd
356+
- ls -l wheelhouse/
357+
- |
358+
$CI_CUS_LINUX_X86_PYTHON_PATH scripts/upload_ftp.py \
359+
--host $CI_CUS_FTP_HOST \
360+
--user $CI_CUS_FTP_USER \
361+
--passwd $CI_CUS_FTP_PASSWD \
362+
--local wheelhouse \
363+
--remote $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/linux_x86_64/v2/
364+
tags:
365+
- Linux-x86_64
366+
367+
368+
linux:arm64:v2:upload:
369+
stage: upload-ftp-v2
370+
environment:
371+
name: linux_arm64_v2_upload
372+
needs:
373+
- linux:arm64:v2
374+
script:
375+
- echo "UPLOAD TO FTP SERVER:" $CI_CUS_FTP_HOST
376+
- echo "PATH:" $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/linux_arm64/v2/
377+
- echo "BRANCH:" $CI_COMMIT_REF_NAME
378+
- pwd
379+
- ls -l wheelhouse/
380+
- |
381+
$CI_CUS_LINUX_X86_PYTHON_PATH scripts/upload_ftp.py \
382+
--host $CI_CUS_FTP_HOST \
383+
--user $CI_CUS_FTP_USER \
384+
--passwd $CI_CUS_FTP_PASSWD \
385+
--local wheelhouse \
386+
--remote $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/linux_arm64/v2/
387+
tags:
388+
- Linux-x86_64
389+
390+
391+
win:amd64:v2:upload:
392+
stage: upload-ftp-v2
393+
environment:
394+
name: win_amd64_v2_upload
395+
needs:
396+
- win:amd64:v2
397+
script:
398+
- echo "UPLOAD TO FTP SERVER:" $CI_CUS_FTP_HOST
399+
- echo "PATH:" $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/win_amd64/v2/
400+
- echo "BRANCH:" $CI_COMMIT_REF_NAME
401+
- pwd
402+
- dir wheelhouse/
403+
- |
404+
$CI_CUS_LINUX_X86_PYTHON_PATH scripts/upload_ftp.py \
405+
--host $CI_CUS_FTP_HOST \
406+
--user $CI_CUS_FTP_USER \
407+
--passwd $CI_CUS_FTP_PASSWD \
408+
--local wheelhouse \
409+
--remote $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/win_amd64/v2/
410+
tags:
411+
- Linux-x86_64
412+
413+
414+
mac:universal2:v2:upload:
415+
stage: upload-ftp-v2
416+
environment:
417+
name: mac_universal2_v2_upload
418+
needs:
419+
- mac:universal2:v2
420+
script:
421+
- echo "UPLOAD TO FTP SERVER:" $CI_CUS_FTP_HOST
422+
- echo "PATH:" $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/mac_universal2/v2/
423+
- echo "BRANCH:" $CI_COMMIT_REF_NAME
424+
- pwd
425+
- ls -l wheelhouse/
426+
- |
427+
$CI_CUS_LINUX_X86_PYTHON_PATH scripts/upload_ftp.py \
428+
--host $CI_CUS_FTP_HOST \
429+
--user $CI_CUS_FTP_USER \
430+
--passwd $CI_CUS_FTP_PASSWD \
431+
--local wheelhouse \
432+
--remote $CI_CUS_FTP_PATH/$CI_COMMIT_REF_NAME/mac_universal2/v2/
433+
tags:
434+
- Linux-x86_64

0 commit comments

Comments
 (0)