Add boost lib and moved into with cpplibs
parent
9b4d69a616
commit
a5270bb11d
|
@ -1,26 +0,0 @@
|
|||
id: "com.vscodium.codium.tool.catch2"
|
||||
build-extension: true
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
prefix: /app/tools/catch2
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
|
||||
modules:
|
||||
- name: catch2
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/catchorg/Catch2/archive/refs/tags/v2.13.7.tar.gz
|
||||
sha256: 3cdb4138a072e4c0290034fe22d9f0a80d3bcfb8d7a8a5c49ad75d3a5da24fae
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_INSTALL_PREFIX=/app/tools/catch2
|
||||
post-install:
|
||||
- find /app/tools/catch2 -type f | xargs -I{} strip -g {} || true
|
|
@ -0,0 +1,37 @@
|
|||
id: "com.vscodium.codium.tool.cpplibs"
|
||||
build-extension: true
|
||||
branch: "21.08"
|
||||
|
||||
runtime: com.vscodium.codium
|
||||
sdk: org.freedesktop.Sdk//21.08
|
||||
runtime-version: stable
|
||||
|
||||
separate-locales: false
|
||||
build-options:
|
||||
prefix: /app/tools/cpplibs
|
||||
env:
|
||||
- SOURCE_DATE_EPOCH=1
|
||||
|
||||
modules:
|
||||
- name: catch2
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/catchorg/Catch2.git
|
||||
tag: v2.13.8
|
||||
commit: 216713a4066b79d9803d374f261ccb30c0fb451f
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- -DCMAKE_INSTALL_PREFIX=/app/tools/cpplibs
|
||||
- name: boost
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/boostorg/boost.git
|
||||
tag: boost-1.78.0
|
||||
commit: a07c63c9e56f4d3b5bc904e25a7ad6f900728dbf
|
||||
buildsystem: cmake-ninja
|
||||
- name: fixes
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- find /app/tools/cpplibs -type f | xargs -I{} strip -g {} || true
|
||||
- cd /app/tools/cpplibs && if [ -d "share/pkgconfig" ]; then mv share/pkgconfig lib/pkgconfig; else exit 1; fi
|
Loading…
Reference in New Issue