pinokiod 3.3.20 → 3.3.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/kernel/shell.js +8 -5
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -104,11 +104,14 @@ class Shell {
104
104
  delete this.env.CMAKE_GENERATOR
105
105
  }
106
106
 
107
- if (this.env.CUDA_HOME) {
108
- delete this.env.CUDA_HOME
109
- }
110
- if (this.env.CUDA_PATH) {
111
- delete this.env.CUDA_PATH
107
+ // if (this.env.CUDA_HOME) {
108
+ // delete this.env.CUDA_HOME
109
+ // }
110
+ for(let key in this.env) {
111
+ if (key.startsWith("CUDA")) {
112
+ console.log("Unset env key: " + key)
113
+ delete this.env[key]
114
+ }
112
115
  }
113
116
 
114
117
  this.env.CMAKE_OBJECT_PATH_MAX = 1024
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.3.20",
3
+ "version": "3.3.22",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {