maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #05829
How to not install tests or examples
-
To:
"maria-discuss@xxxxxxxxxxxxxxxxxxx" <maria-discuss@xxxxxxxxxxxxxxxxxxx>
-
From:
"Chris Ross (cross2)" <cross2@xxxxxxxxx>
-
Date:
Fri, 26 Jun 2020 19:29:43 +0000
-
Accept-language:
en-US
-
Arc-authentication-results:
i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
-
Arc-message-signature:
i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i+jltqeLZAUSX5qnEp6BlbVX+za3CAB5zRr1BqmPSjA=; b=b9hMXYihrdcmfthANSHmfxwdtK/ZvJBemW3Ho1I3FyRrgyt4el6lz5SUnSubKz09SHHE+dGpnoU8taCcsHiSjgQLTB08FKAxi/W4fIWfAIF4xhO/Z6+uAHX9cg3JUXulJdRO8NXQ2x5ZTO1Xuqv7LCJwptFYeCqXA4LoO4t+q7/LFZ3Rxn48AgmrGyRNVzzW51bZ2mQjQGc4DzYazr9MBl8JZLxDa4pwQLH8isxx1bCF77iSyrF2MBRDsIiPsDiFTvPoaeSkkS4LITTywDwSpXNFSlRr5PTv7qc8lLKIGU6xGx/V0Ivn1qiUD9XAT3IDry3Wz+M/jIV7N4f5yhTdrA==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QgAPN7vDSaPIUPzBgS+xm4x6ldJ4SrdS27V1HRZCO7cR0WXJBjVzzCdyv1PIFIsqApsG7bNowv8yGxMbp0TH/3Wx5pc7yWPj+5Do4Z1GlultEdDwo9jryLDW3k3ECI++eDez8HAh+oKYLIxjSjlr6FcVXuNKFmpzv2N9pYHvQltWGowebxsBpmN6R7e5wcQ759bORypPufrpPkzOdgszmeA1DVitzWfNVPyMmk763dB61R9KVPTYcezkSbcDsaHadEm2bo0aw37zMWJLphFpsP/DPipbhAfhHvHCCMjpw791m2Taa3HYaTVUX5+vlttgW5FbO9AGEpqcRiMIfIrCRQ==
-
Authentication-results:
lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=none action=none header.from=cisco.com;
-
Ironport-phdr:
9a23:EBxCORA6YcX10JDe4PGRUyQJPHJ1sqjoPgMT9pssgq5PdaLm5Zn5IUjD/qw20g3NXJ7H8LRAgvfQuKD4UGBG55ud4zgOc51JAhkCj8he3wktG9WMBkCzKvn2Jzc7E8JPWB4AnTm7PEFZFdy4awjUpXu/vjoTAQnkcw58O+L+Gpbbg4Kx2vzhs5HWah9D0Ty6Z746JR6qrALX488Rh4YHSO4xxxLFr2EOdf5RwDZjJEmYmFD34cLj8Q==
-
Thread-index:
AQHWS/Al/FZeWLC/pECbzo1NDddtzQ==
-
Thread-topic:
How to not install tests or examples
-
User-agent:
Microsoft-MacOutlook/16.38.20061401
I am building MariaDB 10.4.13 for a Linux appliance. I do want both the server and client libraries, but I do not want many other things, including the examples and tests that seem to be getting built and installed.
I am configuring as follows:
cmake -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=Debug -DAWS_SDK_EXTERNAL_PROJECT=OFF -DCMAKE_INSTALL_PREFIX:PATH=/base/usr -DWITH_JEMALLOC=OFF -DWITH_PCRE=auto -DWITH_SSL=system -DWITH_ZLIB=system -DWITH_WSREP=OFF -DPLUGIN_WSREP_INFO=NO -DPLUGIN_BLACKHOLE=NO -DPLUGIN_MROONGA=NO -DMRN_GROONGA_EMBED=OFF -DPLUGIN_TOKUDB=NO -DPLUGIN_ROCKSDB=NO)
But as an example of things I want to avoid, the mysql*_embedded binaries in libmysqld/examples get built, and then installed. Looking through the Cmake files, I can see references to CMAKE_INSTALL_COMPONENT of “Test”, and others, but I don’t know how to specify to cmake which components I do and don’t want to install. Can someone help me here?
- Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Follow ups