Remove CORES env variable from devcontainer (#9662)

This commit is contained in:
Ocraftyone
2025-06-08 06:06:59 -04:00
committed by GitHub
parent e52eb480d6
commit 15f0d2a514

View File

@@ -8,7 +8,7 @@
}, },
"options": ["--platform=linux/amd64"] "options": ["--platform=linux/amd64"]
}, },
"runArgs": ["--env-file", "/tmp/devcontainer.env", "--platform=linux/amd64"], "runArgs": ["--platform=linux/amd64"],
"features": { "features": {
"ghcr.io/devcontainers/features/desktop-lite:1": { "ghcr.io/devcontainers/features/desktop-lite:1": {
"password": "orca" "password": "orca"
@@ -23,9 +23,6 @@
"-DBBL_INTERNAL_TESTING=0", "-DBBL_INTERNAL_TESTING=0",
"-DSLIC3R_STATIC=1", "-DSLIC3R_STATIC=1",
"-DCMAKE_PREFIX_PATH=${workspaceFolder}/deps/build/destdir/usr/local" "-DCMAKE_PREFIX_PATH=${workspaceFolder}/deps/build/destdir/usr/local"
],
"cmake.buildToolArgs": [
"-l${containerEnv:CORES}"
] ]
}, },
@@ -47,10 +44,6 @@
"otherPortsAttributes": { "otherPortsAttributes": {
"onAutoForward": "ignore" "onAutoForward": "ignore"
}, },
"initializeCommand": {
"Setup Temporary Env File": "echo \"CORES=`nproc --all`\" > /tmp/devcontainer.env"
},
"onCreateCommand": { "onCreateCommand": {
"Set postCreate executable flag": "chmod +x .devcontainer/postCreate.sh" "Set postCreate executable flag": "chmod +x .devcontainer/postCreate.sh"
}, },