Commit 43c5f5b2 authored by Javier Jardón's avatar Javier Jardón

strata/llvm-common/llvm.morph: Use cmake instead autotools

parent 2708e76a
Pipeline #9520922 failed with stages
in 92 minutes and 5 seconds
name: llvm
kind: chunk
description: Low Level Virtual Machine
build-system: autotools
build-system: cmake
configure-commands:
- ./configure --prefix="$PREFIX" --sysconfdir=/etc
--enable-shared
--enable-targets=host
--enable-optimized
--disable-assertions
--with-python=/usr/bin/python3
- |
mkdir build/
cd build/
CC=gcc CXX=g++ \
cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" \
-DLLVM_ENABLE_FFI=ON \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_TARGETS_TO_BUILD="host" \
-Wno-dev ..
build-commands:
- |
cd build/
make
install-commands:
- |
cd build/
make DESTDIR="$DESTDIR" install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment