Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
6f47549f
Commit
6f47549f
authored
Jan 20, 2021
by
Campbell Barton
Browse files
Options
Downloads
Plain Diff
Merge branch 'blender-v2.92-release'
parents
c7f63094
d3fe320b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build_files/cmake/cmake_consistency_check.py
+9
-4
9 additions, 4 deletions
build_files/cmake/cmake_consistency_check.py
build_files/cmake/cmake_consistency_check_config.py
+12
-2
12 additions, 2 deletions
build_files/cmake/cmake_consistency_check_config.py
with
21 additions
and
6 deletions
build_files/cmake/cmake_consistency_check.py
+
9
−
4
View file @
6f47549f
...
@@ -43,6 +43,12 @@ global_h = set()
...
@@ -43,6 +43,12 @@ global_h = set()
global_c
=
set
()
global_c
=
set
()
global_refs
=
{}
global_refs
=
{}
# Flatten `IGNORE_SOURCE_MISSING` to avoid nested looping.
IGNORE_SOURCE_MISSING
=
[
(
k
,
ig
)
for
k
,
ig_list
in
IGNORE_SOURCE_MISSING
for
ig
in
ig_list
]
# Ignore cmake file, path pairs.
# Ignore cmake file, path pairs.
global_ignore_source_missing
=
{}
global_ignore_source_missing
=
{}
for
k
,
v
in
IGNORE_SOURCE_MISSING
:
for
k
,
v
in
IGNORE_SOURCE_MISSING
:
...
@@ -178,6 +184,8 @@ def cmake_get_src(f):
...
@@ -178,6 +184,8 @@ def cmake_get_src(f):
if
not
l
:
if
not
l
:
pass
pass
elif
l
in
local_ignore_source_missing
:
local_ignore_source_missing
.
remove
(
l
)
elif
l
.
startswith
(
"
$
"
):
elif
l
.
startswith
(
"
$
"
):
if
context_name
==
"
SRC
"
:
if
context_name
==
"
SRC
"
:
# assume if it ends with context_name we know about it
# assume if it ends with context_name we know about it
...
@@ -226,9 +234,6 @@ def cmake_get_src(f):
...
@@ -226,9 +234,6 @@ def cmake_get_src(f):
# # Save time. just replace the line
# # Save time. just replace the line
# replace_line(f, i - 1, new_path_rel)
# replace_line(f, i - 1, new_path_rel)
else
:
if
l
in
local_ignore_source_missing
:
local_ignore_source_missing
.
remove
(
l
)
else
:
else
:
raise
Exception
(
"
non existent include %s:%d -> %s
"
%
(
f
,
i
,
new_file
))
raise
Exception
(
"
non existent include %s:%d -> %s
"
%
(
f
,
i
,
new_file
))
...
...
This diff is collapsed.
Click to expand it.
build_files/cmake/cmake_consistency_check_config.py
+
12
−
2
View file @
6f47549f
...
@@ -34,8 +34,18 @@ IGNORE_SOURCE = (
...
@@ -34,8 +34,18 @@ IGNORE_SOURCE = (
# Ignore cmake file, path pairs.
# Ignore cmake file, path pairs.
IGNORE_SOURCE_MISSING
=
(
IGNORE_SOURCE_MISSING
=
(
# Use for cycles stand-alone.
(
# Use for cycles stand-alone.
(
"
intern/cycles/util/CMakeLists.txt
"
,
"
../../third_party/numaapi/include
"
),
"
intern/cycles/util/CMakeLists.txt
"
,
(
"
../../third_party/numaapi/include
"
,
)),
(
# Use for `WITH_NANOVDB`.
"
intern/cycles/kernel/CMakeLists.txt
"
,
(
"
nanovdb/util/CSampleFromVoxels.h
"
,
"
nanovdb/util/SampleFromVoxels.h
"
,
"
nanovdb/NanoVDB.h
"
,
"
nanovdb/CNanoVDB.h
"
,
),
),
)
)
IGNORE_CMAKE
=
(
IGNORE_CMAKE
=
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment