mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 11:24:27 +02:00
build: gitpod environment updated
This commit is contained in:
10
.gitpod/Dockerfile
Normal file
10
.gitpod/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM trainiteu/gitpod-cpp
|
||||
|
||||
# Add clang apt repositories
|
||||
RUN lsb_rel=`lsb_release -cs` && \
|
||||
sudo add-apt-repository "deb http://apt.llvm.org/${lsb_rel}/ llvm-toolchain-${lsb_rel}-16 main"
|
||||
|
||||
# Install older compilers supported by the project
|
||||
RUN sudo install-packages \
|
||||
g++-12 \
|
||||
clang-16
|
2
.gitpod/conan/global.conf
Normal file
2
.gitpod/conan/global.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config
|
||||
tools.cmake.cmake_layout:build_folder_vars=["settings.compiler", "settings.compiler.version", "settings.compiler.cppstd"]
|
11
.gitpod/conan/profiles/clang16
Normal file
11
.gitpod/conan/profiles/clang16
Normal file
@@ -0,0 +1,11 @@
|
||||
[settings]
|
||||
arch=x86_64
|
||||
build_type=Release
|
||||
compiler=clang
|
||||
compiler.cppstd=20
|
||||
compiler.libcxx=libc++
|
||||
compiler.version=16
|
||||
os=Linux
|
||||
|
||||
[conf]
|
||||
tools.build:compiler_executables={"c": "clang-16", "cpp": "clang++-16"}
|
11
.gitpod/conan/profiles/clang17
Normal file
11
.gitpod/conan/profiles/clang17
Normal file
@@ -0,0 +1,11 @@
|
||||
[settings]
|
||||
arch=x86_64
|
||||
build_type=Release
|
||||
compiler=clang
|
||||
compiler.cppstd=20
|
||||
compiler.libcxx=libc++
|
||||
compiler.version=17
|
||||
os=Linux
|
||||
|
||||
[conf]
|
||||
tools.build:compiler_executables={"c": "clang-17", "cpp": "clang++-17"}
|
11
.gitpod/conan/profiles/gcc12
Normal file
11
.gitpod/conan/profiles/gcc12
Normal file
@@ -0,0 +1,11 @@
|
||||
[settings]
|
||||
arch=x86_64
|
||||
build_type=Release
|
||||
compiler=gcc
|
||||
compiler.cppstd=20
|
||||
compiler.libcxx=libstdc++11
|
||||
compiler.version=12
|
||||
os=Linux
|
||||
|
||||
[conf]
|
||||
tools.build:compiler_executables={"c": "gcc-12", "cpp": "g++-12"}
|
11
.gitpod/conan/profiles/gcc13
Normal file
11
.gitpod/conan/profiles/gcc13
Normal file
@@ -0,0 +1,11 @@
|
||||
[settings]
|
||||
arch=x86_64
|
||||
build_type=Release
|
||||
compiler=gcc
|
||||
compiler.cppstd=20
|
||||
compiler.libcxx=libstdc++11
|
||||
compiler.version=13
|
||||
os=Linux
|
||||
|
||||
[conf]
|
||||
tools.build:compiler_executables={"c": "gcc-13", "cpp": "g++-13"}
|
Reference in New Issue
Block a user