This is an archive of the discontinued LLVM Phabricator instance.

Changed Dockerfiles to install LLVM into /usr/local
ClosedPublic

Authored by ilya-biryukov on Aug 28 2017, 7:34 AM.

Details

Summary

Previously, the installation path was simply '/'.
Using '/usr/local' would ensure that LLVM installation does not
conflict with software installed via package managers.

Event Timeline

ilya-biryukov created this revision.Aug 28 2017, 7:34 AM
klimek accepted this revision.Aug 28 2017, 7:56 AM

LG - / was definitely wrong :)

This revision is now accepted and ready to land.Aug 28 2017, 7:56 AM
This revision was automatically updated to reflect the committed changes.
mehdi_amini edited edge metadata.Aug 28 2017, 9:21 AM

I don't mind where you install it, but we can also assume that someone who use this Dockerfile intends to use clang, so why not adding it to to update-alternatives as well, and even making it default for /usr/bin/c++ and /usr/bin/cc?