Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
None
Description
I tried to compile and install mariadb in alpine, because it was used in docker, so I wanted to take up less space after the compilation was successful.
I used the -dcmake_build_type =MinSizeRel option to minimize the installation. But the mysql-test directory still takes up a lot of space.
I tried using -dwith_unit_tests =OFF and -dconc_with_unit_tests =OFF to disable mysql-test installation, but they didn't work. I haven't found any other relevant options, similar to INSTALL_MYSQLTESTDIR="" in mysql.
How can I disable mysql-test installation?
mysql installation options is this:
cmake . \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DWITH_UNIT_TESTS=OFF \
-DCONC_WITH_UNIT_TESTS=OFF \
-DWITH_MARIABACKUP=OFF \
-DENABLED_LOCAL_INFILE=ON \
-DWITHOUT_TOKUDB=1; \
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Affects Version/s | 10.2.12 [ 22810 ] | |
Environment | alpine3.7 | |
Issue Type | Bug [ 1 ] | Task [ 3 ] |
Assignee | Vladislav Vaintroub [ wlad ] |
Fix Version/s | N/A [ 14700 ] | |
Resolution | Not a Bug [ 6 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 84917 ] | MariaDB v4 [ 133438 ] |