Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Introduction

 

 

Usage

module load cmake/3.5.0
module load cmake/3.8.2

 

 

Installation

 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

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

 

 

  • No labels