...
No Format |
---|
module load cmake/3.5.0
module load cmake/3.8.2 |
Installation
No Format |
---|
tar -zxvf /tmp/cmake-3.5.0.tar.gz
cd /sw/cmake/3.5.0
./bootstrap --prefix=/sw/cmake/3.5.0
make
make install |
cmake version 3.8.2
No Format |
---|
module list >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> tar -zxvf cmake-3.8.2.tar.gz ;cd cmake-3.8.2; >>>>>add the following<<<<<<<<< vi Modules/FindZLIB.cmake set(ZLIB_ROOT /sw/library/zlib/1.2.11) >>>>>>>>>>>>>>>>>>>>>>>>>> ./bootstrap --system-curl --system-expat --system-zlib --system-bzip2 --system-liblzma --system-libarchive --prefix=/sw/cmake/3.8.2 2>&1 | tee bootstrapLog.txt; make 2>&1 | tee makeLog.txt make 2>&1 | tee makeLog.txt make install 2>&1 | tee makeInstall.txt |
Reference