Building OpenSSL without submodules

Matt Caswell matt at openssl.org
Wed May 10 15:19:45 UTC 2023


You don't need any of the submodules to successfully build a working 
OpenSSL. All of the submodules are there for testing purposes and are 
primarily useful for our various CI builds.

Matt

On 10/05/2023 16:13, Mustafa Çevik wrote:
> Hello Everyone,
> 
> I use OpenSSL's different versions as a submodule on my project. 
> Currently, I am trying to set up a continuous integration pipeline and 
> I'd like to be sure that if I clone OpenSSL without its submodules, 
> would this cause a problem that is not observable in build logs?
> 
> I used to clone my project by running following command:
> 
>   * git clone --recurse-submodules [my-project-url]
> 
> 
> But now I just use:
> 
>   * git clone [my-project-url]
>   * git submodule init
>   * git submodule update
> 
> 
> Because the build's successfully completed and the project seems running 
> without errors, however, I can't rely on my limited tests and I need to 
> be exactly sure that not cloning OpenSSL submodules will cause disabled 
> features or a runtime error. Thank you for your time.
> 
> Best regards,
> Mustafa


More information about the openssl-users mailing list