[llvm-dev] how are the binary distribution compiled?

Simon Dardis via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 13 09:24:03 PST 2018


Hi Maurizio,

If you're looking to build packages you should take a look at the test-release.sh script in utils/release/ in the llvm sources.

You can checkout out the release directory directly from svn, and then use the script like

"./release/test-release.sh -release <version number as dotted form> -final -triple x86_64-linux-gnu-debian8 -j <number of jobs>"
and it will build that particular version of LLVM three times, run the builtin test-suite, fetch the main test suite, check that
and then package the resulting binaries.

The -triple argument there is for packaging purposes, and there are additional options to pass particular configure flags to the
build process and to control what other sub projects gets included in the building and testing. It's also possible to select particular
release candidates with -rc X instead of final.

Thanks,
Simon

From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Maurizio Vitale via llvm-dev
Sent: 12 February 2018 18:10
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] how are the binary distribution compiled?

I see that some of the announcements of binaries for Windows include the script using for compiling.

Is there anything similar (or some other form of documentation) for the binaries distributed on http://releases.llvm.org/download.html for other platforms? (I'm particularly interested in Ubuntu)

Thanks,

  Maurizio


More information about the llvm-dev mailing list