Type:
Task
Priority:
Minor
Resolution:
Fixed
Component/s:
None
Currently cmake uses WITH_XXX , WITHOUT_XXX , WITH_XXX_STORAGE_ENGINE , WITHOUT_XXX_STORAGE_ENGINE to specify what plugins should be compiled and how. They are
mixed in the GUI with WITH_PCRE , WITH_JEMALLOC , WITH_PIC , and the such, plugin variables are not easy to spot
redundant and confusing, one can have any subset (including empty) of WITH_XXX , WITHOUT_XXX , WITH_XXX_STORAGE_ENGINE , WITHOUT_XXX_STORAGE_ENGINE defined, it's not immediately clear what the behavior is in these cases
they do not necessarily exist in a GUI, some of them are. E.g to disable innodb one needs to do cmake -DWITHOUT_INNOBASE=1 (creating the option), one cannot do it in a GUI, because there is no WITHOUT_INNOBASE option to change)
This is the current behavior (ignoring *_STORAGE_ENGINE variants):
WITH_XXX
WITHOUT_XXX
plugin XXX supports
result
OFF
OFF
static builds only
not built
OFF
ON
static builds only
not built
ON
OFF
static builds only
built statically
ON
ON
static builds only
built statically
OFF
OFF
dynamic builds only
built dynamically
OFF
ON
dynamic builds only
not built
ON
OFF
dynamic builds only
built dynamically
ON
ON
dynamic builds only
not built
OFF
OFF
both
built dynamically
OFF
ON
both
not built
ON
OFF
both
built statically
ON
ON
both
built statically
In this task we implement a set of BUILD_PLUGIN_XXX options:
they will sort in a distinct group, all together, not intermixed with other non-plugin options
the values will be STATIC , DYNAMIC , NO , which (hopefully) clearly specifies whether a plugin will be built and how.
WITH_XXX , WITHOUT_XXX , etc values are recognized (if defined on the command line) and work as before, but they are never set in our cmake files, so they never show up in a GUI.
This is the new behavior:
BUILD_PLUGIN_XXX
plugin XXX supports
result
STATIC
static builds only
built statically
DYNAMIC
static builds only
not built
NO
static builds only
not built
STATIC
dynamic builds only
built dynamically
DYNAMIC
dynamic builds only
built dynamically
NO
dynamic builds only
not built
STATIC
both
built statically
DYNAMIC
both
built dynamically
NO
both
not built
Thus BUILD_PLUGIN_XXX can be explained as «the highest desired plugin integration level». For example, if it is set to STATIC , but plugin does not support static builds — okay, it'll be built dynamically. But if we want at most DYNAMIC integration level and the plugin only supports static, it will not be built at all.
{"report":{"fcp":1271.7000002861023,"ttfb":359.80000019073486,"pageVisibility":"visible","entityId":36919,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d6cc7857-5353-4cd3-9fc5-441ef8da4759","navigationType":0,"readyForUser":1367.0999999046326,"redirectCount":0,"resourceLoadedEnd":1551.0999999046326,"resourceLoadedStart":368.30000019073486,"resourceTiming":[{"duration":335.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":368.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":368.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":704.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":335.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":368.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":368.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":704.5,"responseStart":0,"secureConnectionStart":0},{"duration":384.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":368.80000019073486,"connectEnd":368.80000019073486,"connectStart":368.80000019073486,"domainLookupEnd":368.80000019073486,"domainLookupStart":368.80000019073486,"fetchStart":368.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":368.80000019073486,"responseEnd":753.5,"responseStart":753.5,"secureConnectionStart":368.80000019073486},{"duration":493.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":369,"connectEnd":369,"connectStart":369,"domainLookupEnd":369,"domainLookupStart":369,"fetchStart":369,"redirectEnd":0,"redirectStart":0,"requestStart":369,"responseEnd":862.5999999046326,"responseStart":862.5999999046326,"secureConnectionStart":369},{"duration":497.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":369.2000002861023,"connectEnd":369.2000002861023,"connectStart":369.2000002861023,"domainLookupEnd":369.2000002861023,"domainLookupStart":369.2000002861023,"fetchStart":369.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":369.2000002861023,"responseEnd":866.4000000953674,"responseStart":866.4000000953674,"secureConnectionStart":369.2000002861023},{"duration":497.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":369.5,"connectEnd":369.5,"connectStart":369.5,"domainLookupEnd":369.5,"domainLookupStart":369.5,"fetchStart":369.5,"redirectEnd":0,"redirectStart":0,"requestStart":369.5,"responseEnd":867,"responseStart":866.9000000953674,"secureConnectionStart":369.5},{"duration":497.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":369.59999990463257,"connectEnd":369.59999990463257,"connectStart":369.59999990463257,"domainLookupEnd":369.59999990463257,"domainLookupStart":369.59999990463257,"fetchStart":369.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":369.59999990463257,"responseEnd":867.3000001907349,"responseStart":867.3000001907349,"secureConnectionStart":369.59999990463257},{"duration":548.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":369.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":369.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":918.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":548.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":370,"connectEnd":370,"connectStart":370,"domainLookupEnd":370,"domainLookupStart":370,"fetchStart":370,"redirectEnd":0,"redirectStart":0,"requestStart":370,"responseEnd":918.0999999046326,"responseStart":918.0999999046326,"secureConnectionStart":370},{"duration":548.6999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":370.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":370.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":918.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":548.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":370.30000019073486,"connectEnd":370.30000019073486,"connectStart":370.30000019073486,"domainLookupEnd":370.30000019073486,"domainLookupStart":370.30000019073486,"fetchStart":370.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":370.30000019073486,"responseEnd":918.5999999046326,"responseStart":918.5999999046326,"secureConnectionStart":370.30000019073486},{"duration":1071.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":371.09999990463257,"connectEnd":371.09999990463257,"connectStart":371.09999990463257,"domainLookupEnd":371.09999990463257,"domainLookupStart":371.09999990463257,"fetchStart":371.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":371.09999990463257,"responseEnd":1442.9000000953674,"responseStart":1442.9000000953674,"secureConnectionStart":371.09999990463257},{"duration":1068,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":375.30000019073486,"connectEnd":375.30000019073486,"connectStart":375.30000019073486,"domainLookupEnd":375.30000019073486,"domainLookupStart":375.30000019073486,"fetchStart":375.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":375.30000019073486,"responseEnd":1443.3000001907349,"responseStart":1443.3000001907349,"secureConnectionStart":375.30000019073486},{"duration":528,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":913.9000000953674,"connectEnd":913.9000000953674,"connectStart":913.9000000953674,"domainLookupEnd":913.9000000953674,"domainLookupStart":913.9000000953674,"fetchStart":913.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":913.9000000953674,"responseEnd":1441.9000000953674,"responseStart":1441.9000000953674,"secureConnectionStart":913.9000000953674},{"duration":193.09999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1261.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1261.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1455,"responseStart":0,"secureConnectionStart":0},{"duration":102.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1448.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1448.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1551,"responseStart":0,"secureConnectionStart":0},{"duration":102.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1448.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1448.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1551.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":98.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1449.9000000953674,"connectEnd":1449.9000000953674,"connectStart":1449.9000000953674,"domainLookupEnd":1449.9000000953674,"domainLookupStart":1449.9000000953674,"fetchStart":1449.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1449.9000000953674,"responseEnd":1548.2000002861023,"responseStart":1548.2000002861023,"secureConnectionStart":1449.9000000953674},{"duration":144.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1450.9000000953674,"connectEnd":1450.9000000953674,"connectStart":1450.9000000953674,"domainLookupEnd":1450.9000000953674,"domainLookupStart":1450.9000000953674,"fetchStart":1450.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1450.9000000953674,"responseEnd":1595,"responseStart":1595,"secureConnectionStart":1450.9000000953674},{"duration":145.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1451.4000000953674,"connectEnd":1451.4000000953674,"connectStart":1451.4000000953674,"domainLookupEnd":1451.4000000953674,"domainLookupStart":1451.4000000953674,"fetchStart":1451.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1451.4000000953674,"responseEnd":1596.5,"responseStart":1596.5,"secureConnectionStart":1451.4000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":174,"responseStart":360,"responseEnd":368,"domLoading":366,"domInteractive":1559,"domContentLoadedEventStart":1559,"domContentLoadedEventEnd":1611,"domComplete":2933,"loadEventStart":2933,"loadEventEnd":2935,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1527},{"name":"bigPipe.sidebar-id.end","time":1527.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1528},{"name":"bigPipe.activity-panel-pipe-id.end","time":1532.5},{"name":"activityTabFullyLoaded","time":1618.2000002861023}],"measures":[],"correlationId":"a68f4822bc5018","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":126,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}