Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
modules-linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Common
modules-linux
Commits
571347e7
Commit
571347e7
authored
Sep 13, 2018
by
Gonzalo Bayo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added CMake 3.12.2 module
parent
4edff126
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
installers/CMake-3.12.2.sh
installers/CMake-3.12.2.sh
+13
-0
modules/cmake-3.12.2
modules/cmake-3.12.2
+10
-0
No files found.
installers/CMake-3.12.2.sh
0 → 100755
View file @
571347e7
#!/bin/bash
# Download, compile and install cmake 3.12.2
cd
$HOME
/opt/src
wget http://www.cmake.org/files/v3.12/cmake-3.12.2.tar.gz
tar
zxvf cmake-3.12.2.tar.gz
cd
cmake-3.12.2
mkdir
-p
Release
cd
Release
cmake ..
-DCMAKE_BUILD_TYPE
=
Release
-DCMAKE_INSTALL_PREFIX
=
$HOME
/opt/cmake-3.12.2
make
install
$1
ln
-s
~/opt/modules/modules/cmake-3.12.2 ~/opt/modules/installed/cmake-3.12.2
echo
"module load cmake-3.12.2"
>>
$HOME
/.bashrc
source
$HOME
/.bashrc
modules/cmake-3.12.2
0 → 100644
View file @
571347e7
#%Module1.0
##
## CMake 3.12.2
set version 3.12.2
set home $::env(HOME)
set prefix $home/opt/cmake-3.12.2
prepend-path PATH $prefix/bin
prepend-path LD_LIBRARY_PATH $prefix/lib
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