CMake: revert last weeks modernizations #110438

Merged
Ray molenkamp merged 3 commits from LazyDodo/blender:temp_cmake_revert into main 2023-07-25 16:43:28 +02:00
Member

The cleanup of blenkernel last week, caused the house of cards to
collapse on top of bf_gpu's shader_builder, which is off by default
but used on a daily basis by the rendering team.

Given the fixes forward in #110394 ran into a ODR violation in OSL that
was hiding there for years, I don't see another way forward without
impeding the rendering teams productivity for "quite a while" as there
is no guarantee the OSL issue would be the end of it.

the only way forward appears to be back.

this reverts :

19422044ed
a670b53abe
0f541db97c
be516e8c81
3e88a2f44c
4e64b772f5
9547e7a317
07fe6c5a57

The problematic commit was 07fe6c5a57
as blenkernel links most of blender, it's a bit of a link order issue
magnet. Given all these commits stack, it's near impossible to revert
just that one without spending a significant amount of time resolving
merge conflicts. 99% of that work was automated, so easier to just
revert all of them, and re-do the work, than it is to deal with the
merge conflicts.

The cleanup of blenkernel last week, caused the house of cards to collapse on top of bf_gpu's shader_builder, which is off by default but used on a daily basis by the rendering team. Given the fixes forward in #110394 ran into a ODR violation in OSL that was hiding there for years, I don't see another way forward without impeding the rendering teams productivity for "quite a while" as there is no guarantee the OSL issue would be the end of it. the only way forward appears to be back. this reverts : 19422044edbd8e8d524db3d02768c4a52f5274be a670b53abe82f7a36d2caa0d8ae2c67c2bc8c39a 0f541db97c47e5fcd1c71160d71642235d9ea743 be516e8c814dbf7bc43ea91c6913be9f7f96e006 3e88a2f44c413fa7f671f638409a975d59f8c1fb 4e64b772f5ed8f352c2744baece802f70e2430e7 9547e7a317d6f86ab8fbfb3d440f127c2ab75df2 07fe6c5a57d7bcf89318204c0319db1f4a2f5cbd The problematic commit was 07fe6c5a57d7bcf89318204c0319db1f4a2f5cbd as blenkernel links most of blender, it's a bit of a link order issue magnet. Given all these commits stack, it's near impossible to revert just that one without spending a significant amount of time resolving merge conflicts. 99% of that work was automated, so easier to just revert all of them, and re-do the work, than it is to deal with the merge conflicts.
Ray molenkamp added 2 commits 2023-07-25 01:16:34 +02:00
Something in last weeks work, caused the house of cards to
collapse on top of bf_gpu's shader_builder, which is off
by default but used on a daily basis by the rendering
team.

Given the fixes forward in #110394 ran into a ODR violation
in OSL that was hiding for years, I don't see another way
forward without impeding the rendering teams productivity
for "quite a while"

the only way forward appears to be back.

this reverts :

19422044ed
a670b53abe
0f541db97c
be516e8c81
3e88a2f44c
4e64b772f5
9547e7a317
07fe6c5a57

99% of that work was automated, so while it was
a lot of work, most of it was waiting for builds
to finish.

a better testing mechanism will need to be setup
for testing these build system changes.
Merge remote-tracking branch 'origin/main' into temp_cmake_revert
All checks were successful
buildbot/vexp-code-patch-coordinator Build done.
9bd39f7c8d
Author
Member

clean build required just to rule out any wonky-ness

https://builder.blender.org/admin/#/builders/136/builds/1833

clean build required just to rule out any wonky-ness https://builder.blender.org/admin/#/builders/136/builds/1833
Ray molenkamp added 1 commit 2023-07-25 16:27:23 +02:00
Ray molenkamp merged commit 4ea2baf4ae into main 2023-07-25 16:43:28 +02:00
Ray molenkamp deleted branch temp_cmake_revert 2023-07-25 16:43:29 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#110438
No description provided.