pinokiod 3.3.43 → 3.3.44

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.
@@ -0,0 +1,24 @@
1
+ class GXX {
2
+ async install(req, ondata) {
3
+ await this.kernel.bin.exec({
4
+ //message: "conda install -y nodejs=22.12.0 -c conda-forge"
5
+ message: [
6
+ "conda clean -y --all",
7
+ "conda install -y -c conda-forge 'gxx<12'"
8
+ ]
9
+ // conda: {
10
+ // name: "base",
11
+ // activate: "minimal"
12
+ // }
13
+ }, ondata)
14
+ }
15
+ async installed() {
16
+ return this.kernel.bin.installed.conda.has("gxx")
17
+ }
18
+ async uninstall(req, ondata) {
19
+ await this.kernel.bin.exec({
20
+ message: "conda remove gxx",
21
+ }, ondata)
22
+ }
23
+ }
24
+ module.exports = GXX
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.3.43",
3
+ "version": "3.3.44",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -507,6 +507,11 @@ class Server {
507
507
  name: "brew"
508
508
  })
509
509
  }
510
+ if (platform === "linux") {
511
+ requirements.push({
512
+ name: "gxx"
513
+ })
514
+ }
510
515
  if (this.kernel.gpu === "nvidia") {
511
516
  requirements.push({
512
517
  name: "cuda",
@@ -790,6 +795,11 @@ class Server {
790
795
  name: "brew"
791
796
  })
792
797
  }
798
+ if (platform === "linux") {
799
+ requirements.push({
800
+ name: "gxx"
801
+ })
802
+ }
793
803
  if (this.kernel.gpu === "nvidia") {
794
804
  requirements.push({
795
805
  name: "cuda"