Skip to content

Commit 07b037d

Browse files
ci: infra update
Related-To: NEO-7912 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
1 parent 874ae35 commit 07b037d

File tree

4 files changed

+16
-67
lines changed

4 files changed

+16
-67
lines changed

.github/pull-request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
defaultbranch: releases/19.32
2+
draft: true

manifests/manifest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ components:
1414
revision: 7c89d200bf9c5b5900d961bc6f7df5373f3d0ab6
1515
type: git
1616
infra:
17-
branch: infra
17+
branch: releases/19.32
1818
clean_on_sync: true
1919
dest_dir: infra
20-
revision: 65abf81b2a3b8280ef575655a1bd08eada3147ec
20+
revision: v1218.rel1932.1
2121
type: git
2222
internal:
2323
branch: master

scripts/lint/set_copyright.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# count arguments, need at least 1
1515
if len(sys.argv) < 2:
16-
print "need 1 argument, file\n"
16+
print("need 1 argument, file\n")
1717
sys.exit(0)
1818

1919
header_cpp = """/*
@@ -97,15 +97,15 @@ def isBanned(path):
9797
break
9898

9999
if not path_ok:
100-
print "[MIT] Ignoring file: %s" % path
100+
print("[MIT] Ignoring file: %s" % path)
101101
continue
102102

103103
# check that first arg is a existing file
104104
if not os.path.isfile(path):
105-
print "cannot find file %s, skipping" % path
105+
print("cannot find file %s, skipping" % path)
106106
continue
107107

108-
print "[MIT] Processing file: %s" % path
108+
print("[MIT] Processing file: %s" % path)
109109

110110
L = list()
111111
start_year = None
@@ -129,7 +129,7 @@ def isBanned(path):
129129
try:
130130
if first_line or line.startswith('#'):
131131
for a in cpp_sharp_lines:
132-
print "a: %s ~ %s" % (a, line)
132+
print("a: %s ~ %s" % (a, line))
133133
if line.startswith(a):
134134
raise "c++"
135135
header_start = '#'

version.cmake

Lines changed: 7 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,14 @@
11
#
2-
# Copyright (C) 2018 Intel Corporation
2+
# Copyright (C) 2018-2023 Intel Corporation
33
#
44
# SPDX-License-Identifier: MIT
55
#
66

7-
if(UNIX)
8-
if(NOT DEFINED NEO_DRIVER_VERSION)
9-
find_program(GIT NAMES git)
10-
if(NOT "${GIT}" STREQUAL "GIT-NOTFOUND")
11-
if(IS_DIRECTORY ${IGDRCL_SOURCE_DIR}/.git)
12-
set(GIT_arg --git-dir=${IGDRCL_SOURCE_DIR}/.git show -s --format=%ct)
13-
execute_process(
14-
COMMAND ${GIT} ${GIT_arg}
15-
OUTPUT_VARIABLE GIT_output
16-
OUTPUT_STRIP_TRAILING_WHITESPACE
17-
)
18-
endif()
19-
endif()
7+
set(NEO_OCL_VERSION_MAJOR 19)
8+
set(NEO_OCL_VERSION_MINOR 32)
209

21-
if(NOT DEFINED NEO_VERSION_MAJOR)
22-
if(NOT DEFINED GIT_output)
23-
set(NEO_VERSION_MAJOR 1)
24-
else()
25-
SET(DATE_arg --date=@${GIT_output} +%y)
26-
execute_process(
27-
COMMAND date ${DATE_arg}
28-
OUTPUT_VARIABLE NEO_VERSION_MAJOR
29-
OUTPUT_STRIP_TRAILING_WHITESPACE
30-
)
31-
message(STATUS "Computed version major is: ${NEO_VERSION_MAJOR}")
32-
endif()
33-
endif()
10+
if(NOT DEFINED NEO_VERSION_BUILD)
11+
set(NEO_VERSION_BUILD 13826)
12+
endif()
3413

35-
if(NOT DEFINED NEO_VERSION_MINOR)
36-
if(NOT DEFINED GIT_output)
37-
set(NEO_VERSION_MINOR 0)
38-
else()
39-
SET(DATE_arg --date=@${GIT_output} +%V)
40-
execute_process(
41-
COMMAND date ${DATE_arg}
42-
OUTPUT_VARIABLE NEO_VERSION_MINOR
43-
OUTPUT_STRIP_TRAILING_WHITESPACE
44-
)
45-
message(STATUS "Computed version minor is: ${NEO_VERSION_MINOR}")
46-
endif()
47-
endif()
48-
49-
if(NOT DEFINED NEO_VERSION_BUILD)
50-
set(NEO_VERSION_BUILD 0)
51-
endif()
52-
set(NEO_DRIVER_VERSION "${NEO_VERSION_MAJOR}.${NEO_VERSION_MINOR}.${NEO_VERSION_BUILD}")
53-
endif()
54-
else()
55-
if(NOT DEFINED NEO_VERSION_MAJOR)
56-
set(NEO_VERSION_MAJOR 1)
57-
endif()
58-
59-
if(NOT DEFINED NEO_VERSION_MINOR)
60-
set(NEO_VERSION_MINOR 0)
61-
endif()
62-
63-
if(NOT DEFINED NEO_VERSION_BUILD)
64-
set(NEO_VERSION_BUILD 0)
65-
endif()
66-
set(NEO_DRIVER_VERSION "${NEO_VERSION_MAJOR}.${NEO_VERSION_MINOR}.${NEO_VERSION_BUILD}")
67-
endif(UNIX)
14+
set(NEO_OCL_DRIVER_VERSION "${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_VERSION_BUILD}")

0 commit comments

Comments
 (0)