Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Fix building/testing of GAP-related parts.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbehrends committed Apr 10, 2020
1 parent 42d3645 commit c227233
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ node {
}
// install Oscar GAP packages and link gap script
withEnv(stdenv) {
def GAP_jl_PATH = sh(returnStdout: true,
def GAP_PATH = sh(returnStdout: true,
script: "julia meta/gappath.jl").trim()
sh script: "ln -sf ${GAP_jl_PATH}/gap.sh ${workspace}/local/bin/gap",
sh script: "ln -sf ${GAP_PATH} ${workspace}/local/bin/gap",
label: "Install gap script in bin directory"
sh script: "sh meta/install-gap-pkg.sh ${workspace}/NemoLinearAlgebraForCAP",
label: "Install NemoLinearAlgebraForCAP package in GAP pkg folder"
Expand Down
3 changes: 2 additions & 1 deletion gappath.jl
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
print(normpath(joinpath(dirname(Base.find_package("GAP")), "..")))
using GAP
print(GAP.gap_exe())
3 changes: 2 additions & 1 deletion gappkgpath.jl
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
print(normpath(joinpath(dirname(Base.find_package("GAP")), "../pkg")))
using GAP
print(string(GAP.EvalString("Filename(DirectoriesLibrary(\"pkg\")[1],\"\")")))

0 comments on commit c227233

Please sign in to comment.