Skip to content

Commit

Permalink
Update Build.wl
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryI authored Feb 19, 2025
1 parent a307866 commit 1484da0
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Scripts/Build.wl
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@ Get["LibraryLink`"];
Echo[$CCompiler];
Echo[CCompilers[]];

If[Length[CCompilers[]] === 0,
$CCompiler={"Compiler"->GenericCCompiler,
"CompilerInstallation"->"/usr/bin",
"CompilerName"->"gcc",
"ShellOutputFunction"->Print}
,
$CCompiler = Last[CCompilers[]];
];




Expand Down Expand Up @@ -64,6 +55,9 @@ Block[{$directory, $libSrc, $libDir, $linkerOptions},
"TargetDirectory" -> $libDir,
"Debug" -> True,
"ShellOutputFunction"->Print,
"Compiler"->GenericCCompiler,
"CompilerInstallation"->"/usr/bin",
"CompilerName"->"gcc",
opts
]
];
Expand Down

0 comments on commit 1484da0

Please sign in to comment.