[MDEV-24161] Provide a CMake option to disable the OQGraph backend Created: 2020-11-07 Updated: 2020-11-15 Resolved: 2020-11-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - OQGRAPH |
| Affects Version/s: | None |
| Fix Version/s: | 10.2.37, 10.3.28, 10.4.18, 10.5.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Brad Smith | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
OpenBSD has a diff like the following which I believe I copied from FreeBSD. Please provide a CMake option to disable the OQGraph backend to ensure reproducible builds of packages.
|
| Comments |
| Comment by Daniel Black [ 2020-11-07 ] | ||||||||||
|
`-DPLUGIN_OQGRAPH=NO` | ||||||||||
| Comment by Brad Smith [ 2020-11-07 ] | ||||||||||
|
If that is a valid option it doesn't do anything. – Configuring OQGraph I use the option -DPLUGIN_COLUMNSTORE=NO and other -DWITHOUT_foo_STORAGE_ENGINE=1 options as well. | ||||||||||
| Comment by Sergei Golubchik [ 2020-11-07 ] | ||||||||||
|
Since MariaDB 10.1 any plugin can be disabled with -DPLUGIN_xxx=NO The plugin will not be built, but it does not mean compilation-time checks will be skipped. | ||||||||||
| Comment by Brad Smith [ 2020-11-07 ] | ||||||||||
|
Ya, still probing for dependencies even if the plugin is still not being built is confusing to packagers and users. That goes against what people would expect. | ||||||||||
| Comment by Daniel Black [ 2020-11-08 ] | ||||||||||
|
Agree, So I think I can do something simple before next general release | ||||||||||
| Comment by Anel Husakovic [ 2020-11-09 ] | ||||||||||
|
Seems that this commit 2400e06946bb
removed previous check of the flag. | ||||||||||
| Comment by Daniel Black [ 2020-11-13 ] | ||||||||||
| Comment by Brad Smith [ 2020-11-14 ] | ||||||||||
|
That seems to do what would be expected. With the diff from the build log from pre-patched to patched..
| ||||||||||
| Comment by Daniel Black [ 2020-11-15 ] | ||||||||||
|
Thanks Brad, fix will be in next version. |