added llvm17-dev as dependency to sdk 0.2.5
This commit is contained in:
parent
fb6f6e9777
commit
9e4b0a1000
|
@ -81,13 +81,8 @@ pkg_search_module(GLIB REQUIRED IMPORTED_TARGET glib-2.0)
|
|||
# LLVM backend #
|
||||
# ------------------------------------------------ #
|
||||
|
||||
# Fetch LLVM link configuration
|
||||
execute_process(COMMAND llvm-config --libs all
|
||||
OUTPUT_VARIABLE LLVM_LIBS)
|
||||
# Strip whitespace from output
|
||||
string(STRIP "${LLVM_LIBS}" LLVM_LIBS)
|
||||
# Link all targets to LLVM
|
||||
link_libraries(${LLVM_LIBS})
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_search_module(LLVM REQUIRED IMPORTED_TARGET llvm17)
|
||||
|
||||
# ------------------------------------------------ #
|
||||
# Source #
|
||||
|
@ -95,6 +90,7 @@ link_libraries(${LLVM_LIBS})
|
|||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/src)
|
||||
include_directories(PRIVATE ${GLIB_INCLUDE_DIRS})
|
||||
include_directories(PRIVATE ${LLVM_INCLUDE_DIRS})
|
||||
|
||||
file(GLOB_RECURSE SOURCE_FILES src/*.c)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM servostar/gemstone:sdk-0.2.4-alpine-3.19.1
|
||||
FROM servostar/gemstone:sdk-0.2.5-alpine-3.19.1
|
||||
LABEL authors="servostar"
|
||||
LABEL version="0.2.4"
|
||||
LABEL version="0.2.5"
|
||||
LABEL description="docker image for setting up the build pipeline on SDK"
|
||||
LABEL website="https://github.com/Servostar/gemstone"
|
||||
|
||||
|
|
|
@ -39,4 +39,4 @@ fi
|
|||
|
||||
echo "+--------------------------------------+"
|
||||
echo "| COMPLETED CHECK + TESTS SUCCESSFULLY |"
|
||||
echo "+--------------------------------------+"
|
||||
echo "+--------------------------------------+"
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
FROM alpine:3.19.1
|
||||
LABEL authors="servostar"
|
||||
LABEL version="0.2.4"
|
||||
LABEL version="0.2.5"
|
||||
LABEL description="base image for building the gemstone programming language compiler"
|
||||
LABEL website="https://github.com/Servostar/gemstone"
|
||||
|
||||
# install dependencies
|
||||
RUN apk add build-base gcc make cmake bison flex git python3 graphviz glib glib-dev
|
||||
RUN apk add build-base gcc make cmake bison flex git python3 graphviz glib glib-dev llvm17-dev
|
||||
|
||||
# create user for build
|
||||
RUN adduser --disabled-password lorang
|
||||
|
|
Loading…
Reference in New Issue