mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
Remove CORES env variable from devcontainer (#9662)
This commit is contained in:
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user