Skip to content

Commit

Permalink
Add Surelog into the langutils recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomelo9 committed Dec 3, 2024
1 parent b598137 commit 2f6d87a
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
52 changes: 52 additions & 0 deletions recipes/langutils
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
FROM ubuntu:latest AS build

WORKDIR /root

RUN apt update -qq \
&& DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
# Common
build-essential \
ca-certificates \
git \
python3 \
zlib1g-dev \
# Surelog
cmake \
default-jre \
python3-orderedmultidict \
&& apt autoclean && apt clean && apt -y autoremove \
&& rm -rf /var/lib/apt/lists/*

#
# Surelog
#

RUN git clone --depth 1 https://github.com/alainmarcel/Surelog.git \
&& cd Surelog && git submodule update --init --recursive \
&& make -j$(nproc) && make install

###############################################################################

## Surelog
#/usr/local/lib/libcapnp.a
#/usr/local/lib/libkj.a
#/usr/local/lib/libuhdm.a
#/usr/local/bin/uhdm-cmp
#/usr/local/bin/uhdm-dump
#/usr/local/bin/uhdm-hier
#/usr/local/bin/uhdm-lint
#/usr/local/include/uhdm
#/usr/local/share/uhdm/UHDM.capnp
#/usr/local/lib/cmake/UHDM
#/usr/local/lib/pkgconfig/UHDM.pc
#/usr/local/bin/surelog
#/usr/local/bin/roundtrip
#/usr/local/lib/libsurelog.a
#/usr/local/lib/libantlr4-runtime.a
#/usr/local/lib/libcapnp.a
#/usr/local/lib/libkj.a
#/usr/local/lib/libuhdm.a
#/usr/local/share/surelog
#/usr/local/include/Surelog
#/usr/local/lib/cmake/Surelog
#/usr/local/lib/pkgconfig/Surelog.pc
4 changes: 4 additions & 0 deletions tests/langutils.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -e

bash ../run.sh langutils 'surelog --version'

0 comments on commit 2f6d87a

Please sign in to comment.