Don't manually mkdir the prefix directory
Doing "make install" will make the directory implicitly anyway.
This commit is contained in:
1 parent
e98f0ac6cc
commit
1ee6d578b2
1 file changed
-2
@@ -34,8 +34,6 @@ RUN git clone -b master https://github.com/llvm-mirror/llvm.git && \
|
|||||||
git checkout bdb0db17cbabf8ad325ed3cd21054aec17056680
|
git checkout bdb0db17cbabf8ad325ed3cd21054aec17056680
|
||||||
|
|
||||||
|
|
||||||
RUN mkdir /build/prefix
|
|
||||||
|
|
||||||
# Build LLVM
|
# Build LLVM
|
||||||
RUN cd llvm && mkdir build && cd build && cmake \
|
RUN cd llvm && mkdir build && cd build && cmake \
|
||||||
-DCMAKE_INSTALL_PREFIX="/build/prefix" \
|
-DCMAKE_INSTALL_PREFIX="/build/prefix" \
|
||||||
|
|||||||
Reference in new issue
Block a user