Skip to content

Instantly share code, notes, and snippets.

@WebDrake
Created August 31, 2016 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WebDrake/e4ec1d1065df3011bf88f69a0c00544a to your computer and use it in GitHub Desktop.
Save WebDrake/e4ec1d1065df3011bf88f69a0c00544a to your computer and use it in GitHub Desktop.
provisional snapcraft.yaml for LDC
name: ldc2
version: "1.0.0"
summary: D compiler with LLVM backend
description: LDC is a compiler for the D programming Language.
It is based on the latest DMD frontend and uses LLVM as backend.
confinement: strict
apps:
ldc2:
command: ldc2
plugs: [home]
ldmd2:
command: ldmd2
plugs: [home]
gcc:
command: usr/bin/gcc --sysroot=$SNAP
plugs: [home]
ld:
command: usr/bin/ld --sysroot=$SNAP
plugs: [home]
parts:
ldc:
source: git://github.com/ldc-developers/ldc.git
source-tag: v1.0.0
plugin: cmake
build-packages:
- ldc
- llvm-dev
- libconfig++-dev
- libcurl4-gnutls-dev
- libedit-dev
- zlib1g-dev
gcc:
plugin: nil
stage-packages: [gcc]
libgcc-5-dev:
plugin: nil
stage-packages: [libgcc-5-dev]
libc6:
plugin: nil
stage-packages: [libc6]
libc6-dev:
plugin: nil
stage-packages: [libc6-dev]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment