Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
please-install
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
atlas
please-install
Commits
4ca5a066
Commit
4ca5a066
authored
Jul 25, 2018
by
Guillaume DOLLÉ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix cling script
parent
d4f24ea7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
cling/install.sh
cling/install.sh
+4
-2
cling/module.tmpl
cling/module.tmpl
+1
-1
No files found.
cling/install.sh
View file @
4ca5a066
...
...
@@ -8,6 +8,7 @@ LIB_NAME="cling"
LIB_VERSION
=
0.4.0
GCC_VERSION
=
6.4.0
CMAKE_VERSION
=
3.9.2
MODULE_CATEGORY
=
"compilers"
# Use cern repository! (patched version)
LLVM_REPOSITORY
=
http://root.cern.ch/git/llvm.git
...
...
@@ -28,7 +29,7 @@ DEPEND_MODULE_GCC=gcc${GCC_VERSION_MAJOR}${GCC_VERSION_MINOR}${GCC_VERSION_PATCH
SOURCE_DIR
=
${
BASE_WORK_DIR
}
/
${
LIB_NAME
}
/
${
LIB_VERSION
}
/
${
DEPEND_GCC
}
BUILD_DIR
=
${
PREBUILD_DIR
}
/
${
LIB_NAME
}
/
${
LIB_VERSION
}
/
${
DEPEND_GCC
}
/build
INSTALL_DIR
=
${
BASE_INSTALL_DIR
}
/
${
LIB_NAME
}
/
${
LIB_VERSION
}
/
${
DEPEND_GCC
}
MODULE_DIR
=
${
BASE_MODULE_DIR
}
/
compilers
/
${
LIB_NAME
}
MODULE_DIR
=
${
BASE_MODULE_DIR
}
/
${
MODULE_CATEGORY
}
/
${
LIB_NAME
}
MODULE_PATH
=
${
MODULE_DIR
}
/
${
LIB_VERSION
}
_
${
DEPEND_MODULE_GCC
}
...
...
@@ -75,7 +76,7 @@ build_lib() {
fi
module purge
module load gcc/
${
GCC_VERSION
}
module load cmake/
${
CMAKE_VERSION
}
_
${
GCC_VERSION_MAJOR
}${
GCC_VERSION_MINOR
}${
GCC_VERSION_PATCH
}
module load cmake/
${
CMAKE_VERSION
}
_
gcc
${
GCC_VERSION_MAJOR
}${
GCC_VERSION_MINOR
}${
GCC_VERSION_PATCH
}
module list
# Check gcc version here
...
...
@@ -107,6 +108,7 @@ install_module()
export
LIB_NAME
export
LIB_VERSION
export
INSTALL_DIR
export
MODULE_CATEGORY
envtpl
--keep-template
-o
$MODULE_PATH
module.tmpl
}
...
...
cling/module.tmpl
View file @
4ca5a066
...
...
@@ -5,7 +5,7 @@
proc ModulesHelp { } {
global version prefix
puts stderr "\t
compilers
/{{ LIB_NAME }}/{{ LIB_VERSION }} - loads {{ LIB_NAME }} {{ LIB_VERSION }} and its environment"
puts stderr "\t
{{ MODULE_CATEGORY }}
/{{ LIB_NAME }}/{{ LIB_VERSION }} - loads {{ LIB_NAME }} {{ LIB_VERSION }} and its environment"
}
module-whatis "Loads {{ LIB_NAME }} {{ LIB_VERSION }} and its environment"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment