-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dev Containers with Clang using -stdlib=libc++
- Loading branch information
Showing
13 changed files
with
337 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
.devcontainer/debian-stable-clang-libcpp/devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"name": "R devel (Debian stable, Clang, libc++)", | ||
"build": { | ||
"dockerfile": "../Debian.Dockerfile", | ||
"context": "..", | ||
"args": { | ||
"BASE_IMAGE": "debian", | ||
"BASE_IMAGE_TAG": "stable", | ||
"COMPILER": "clang", | ||
"CXX_STDLIB": "libc++", | ||
"CRAN": "https://cloud.r-project.org", | ||
"R_VERSION": "devel", | ||
// "NCPUS": "1", | ||
"USE_ZSH_FOR_ROOT": "unset-to-use-bash", | ||
"SET_LANG": "en_US.UTF-8", | ||
"SET_TZ": "Etc/UTC" | ||
} | ||
}, | ||
|
||
"onCreateCommand": "onCreateCommand.sh", | ||
"postCreateCommand": "postCreateCommand.sh", | ||
"postStartCommand": "postStartCommand.sh", | ||
|
||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"configureZshAsDefaultShell": true, | ||
"upgradePackages": false, | ||
"username": "vscode", | ||
"userUid": "automatic", | ||
"userGid": "automatic" | ||
}, | ||
// A comma separated list of packages to install | ||
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": { | ||
"packages": "qpdf" | ||
} | ||
}, | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"DavidAnson.vscode-markdownlint", | ||
"[email protected]", | ||
"editorconfig.editorconfig", | ||
"GitHub.vscode-pull-request-github", | ||
"grapecity.gc-excelviewer", | ||
"mhutchie.git-graph", | ||
"mutantdino.resourcemonitor", | ||
"redhat.vscode-yaml", | ||
"REditorSupport.r", | ||
"timonwong.shellcheck", | ||
"exiasr.hadolint", | ||
"ms-vscode.cpptools" | ||
], | ||
"settings": { | ||
"gitlens.showWelcomeOnInstall": false, | ||
"gitlens.showWhatsNewAfterUpgrades": false, | ||
"r.bracketedPaste": true, | ||
"r.plot.useHttpgd": true, | ||
"r.rterm.linux": "/usr/local/bin/radian", | ||
"r.rterm.option": [ | ||
"--no-save", | ||
"--no-restore" | ||
], | ||
"r.workspaceViewer.showObjectSize": true, | ||
"resmon.show.battery": false, | ||
"resmon.show.cpufreq": false | ||
} | ||
} | ||
}, | ||
|
||
// Set 'remoteUser' to 'root' to connect as root instead. | ||
"remoteUser": "vscode", | ||
|
||
"remoteEnv": { | ||
// Pip: Install packages to the user site | ||
"PIP_USER": "1", | ||
// A comma separated list of packages to install | ||
"R_PACKAGES": "future" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
.devcontainer/debian-testing-clang-libcpp/devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"name": "R devel (Debian testing, Clang, libc++)", | ||
"build": { | ||
"dockerfile": "../Debian.Dockerfile", | ||
"context": "..", | ||
"args": { | ||
"BASE_IMAGE": "debian", | ||
"BASE_IMAGE_TAG": "testing", | ||
"COMPILER": "clang", | ||
"CXX_STDLIB": "libc++", | ||
"CRAN": "https://cloud.r-project.org", | ||
"R_VERSION": "devel", | ||
// "NCPUS": "1", | ||
"USE_ZSH_FOR_ROOT": "unset-to-use-bash", | ||
"SET_LANG": "en_US.UTF-8", | ||
"SET_TZ": "Etc/UTC" | ||
} | ||
}, | ||
|
||
"onCreateCommand": "onCreateCommand.sh", | ||
"postCreateCommand": "postCreateCommand.sh", | ||
"postStartCommand": "postStartCommand.sh", | ||
|
||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"configureZshAsDefaultShell": true, | ||
"upgradePackages": false, | ||
"username": "vscode", | ||
"userUid": "automatic", | ||
"userGid": "automatic" | ||
}, | ||
// A comma separated list of packages to install | ||
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": { | ||
"packages": "qpdf" | ||
} | ||
}, | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"DavidAnson.vscode-markdownlint", | ||
"[email protected]", | ||
"editorconfig.editorconfig", | ||
"GitHub.vscode-pull-request-github", | ||
"grapecity.gc-excelviewer", | ||
"mhutchie.git-graph", | ||
"mutantdino.resourcemonitor", | ||
"redhat.vscode-yaml", | ||
"REditorSupport.r", | ||
"timonwong.shellcheck", | ||
"exiasr.hadolint", | ||
"ms-vscode.cpptools" | ||
], | ||
"settings": { | ||
"gitlens.showWelcomeOnInstall": false, | ||
"gitlens.showWhatsNewAfterUpgrades": false, | ||
"r.bracketedPaste": true, | ||
"r.plot.useHttpgd": true, | ||
"r.rterm.linux": "/usr/local/bin/radian", | ||
"r.rterm.option": [ | ||
"--no-save", | ||
"--no-restore" | ||
], | ||
"r.workspaceViewer.showObjectSize": true, | ||
"resmon.show.battery": false, | ||
"resmon.show.cpufreq": false | ||
} | ||
} | ||
}, | ||
|
||
// Set 'remoteUser' to 'root' to connect as root instead. | ||
"remoteUser": "vscode", | ||
|
||
"remoteEnv": { | ||
// Pip: Install packages to the user site | ||
"PIP_USER": "1", | ||
// A comma separated list of packages to install | ||
"R_PACKAGES": "future" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
.devcontainer/debian-unstable-clang-18-libcpp/devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"name": "R devel (Debian unstable, Clang 18, libc++)", | ||
"build": { | ||
"dockerfile": "../Debian.Dockerfile", | ||
"context": "..", | ||
"args": { | ||
"BASE_IMAGE": "debian", | ||
"BASE_IMAGE_TAG": "unstable", | ||
"COMPILER": "clang", | ||
"COMPILER_VERSION": "18", | ||
"CXX_STDLIB": "libc++", | ||
"CRAN": "https://cloud.r-project.org", | ||
"R_VERSION": "devel", | ||
// "NCPUS": "1", | ||
"INSTALL_COMMON_UTILS": "true", | ||
"USE_ZSH_FOR_ROOT": "unset-to-use-bash", | ||
"SET_LANG": "en_US.UTF-8", | ||
"SET_TZ": "Etc/UTC" | ||
} | ||
}, | ||
|
||
"onCreateCommand": "onCreateCommand.sh", | ||
"postCreateCommand": "postCreateCommand.sh", | ||
"postStartCommand": "postStartCommand.sh", | ||
|
||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"configureZshAsDefaultShell": true, | ||
"upgradePackages": false, | ||
"username": "vscode", | ||
"userUid": "automatic", | ||
"userGid": "automatic" | ||
}, | ||
// A comma separated list of packages to install | ||
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": { | ||
"packages": "qpdf" | ||
} | ||
}, | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"DavidAnson.vscode-markdownlint", | ||
"[email protected]", | ||
"editorconfig.editorconfig", | ||
"GitHub.vscode-pull-request-github", | ||
"grapecity.gc-excelviewer", | ||
"mhutchie.git-graph", | ||
"mutantdino.resourcemonitor", | ||
"redhat.vscode-yaml", | ||
"REditorSupport.r", | ||
"timonwong.shellcheck", | ||
"exiasr.hadolint", | ||
"ms-vscode.cpptools" | ||
], | ||
"settings": { | ||
"gitlens.showWelcomeOnInstall": false, | ||
"gitlens.showWhatsNewAfterUpgrades": false, | ||
"r.bracketedPaste": true, | ||
"r.plot.useHttpgd": true, | ||
"r.rterm.linux": "/usr/local/bin/radian", | ||
"r.rterm.option": [ | ||
"--no-save", | ||
"--no-restore" | ||
], | ||
"r.workspaceViewer.showObjectSize": true, | ||
"resmon.show.battery": false, | ||
"resmon.show.cpufreq": false | ||
} | ||
} | ||
}, | ||
|
||
// Set 'remoteUser' to 'root' to connect as root instead. | ||
"remoteUser": "vscode", | ||
|
||
"remoteEnv": { | ||
// Pip: Install packages to the user site | ||
"PIP_USER": "1", | ||
// A comma separated list of packages to install | ||
"R_PACKAGES": "future" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.