Compare commits
No commits in common. "f7b81b36ec2efac3d7b5ee90b24dfcfae62523c1" and "7ee69f7f10c1fbac18e85cc4fd358ff42e03f88d" have entirely different histories.
f7b81b36ec
...
7ee69f7f10
4 changed files with 20 additions and 42 deletions
|
|
@ -4,7 +4,9 @@ export ACT_HOME=~/.act_install
|
||||||
export PATH=$ACT_HOME/bin::$PATH
|
export PATH=$ACT_HOME/bin::$PATH
|
||||||
export LD_LIBRARY_PATH=$ACT_HOME/lib:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=$ACT_HOME/lib:$LD_LIBRARY_PATH
|
||||||
|
|
||||||
export C_INCLUDE_PATH=$ACT_HOME/include:$C_INCLUDE_PATH
|
# export LD_LIBRARY_PATH=~/.zlib:$LD_LIBRARY_PATH
|
||||||
export CPLUS_INCLUDE_PATH=$ACT_HOME/include:$CPLUS_INCLUDE_PATH
|
# export C_INCLUDE_PATH=~/.libedit-devel/include:$C_INCLUDE_PATH
|
||||||
|
# export CPLUS_INCLUDE_PATH=~/.libedit-devel/include:$CPLUS_INCLUDE_PATH
|
||||||
|
# export LD_LIBRARY_PATH=~/.libedit-devel/lib64:$LD_LIBRARY_PATH
|
||||||
|
|
||||||
echo ACT_HOME is set to $ACT_HOME
|
echo ACT_HOME is set to $ACT_HOME
|
||||||
|
|
|
||||||
|
|
@ -3,28 +3,18 @@
|
||||||
# locally install libedit-devel
|
# locally install libedit-devel
|
||||||
|
|
||||||
here=$(pwd)
|
here=$(pwd)
|
||||||
srcfolder="$here/src/libedit-devel"
|
|
||||||
|
|
||||||
if [ -z ${ACT_HOME+x} ]; then
|
libedit_devel_dest=~/.libedit-devel
|
||||||
echo "Installing to ACT_HOME"
|
|
||||||
dest_lib=$ACT_HOME/lib
|
|
||||||
dest_hdr=$ACT_HOME/include
|
|
||||||
else
|
|
||||||
echo "Installing in home folder"
|
|
||||||
dest_lib=~/.libedit-devel/lib
|
|
||||||
dest_hdr=~/.libedit-devel/include
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create source folder
|
mkdir -p $libedit_devel_dest
|
||||||
mkdir -p $srcfolder
|
cd $libedit_devel_dest
|
||||||
cd $srcfolder
|
|
||||||
|
|
||||||
# Generate files
|
|
||||||
wget https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/libedit-devel-3.1-38.20210216cvs.el9.x86_64.rpm
|
wget https://repo.almalinux.org/almalinux/9/AppStream/x86_64/os/Packages/libedit-devel-3.1-38.20210216cvs.el9.x86_64.rpm
|
||||||
rpm2cpio libedit-devel-3.1-38.20210216cvs.el9.x86_64.rpm | cpio -idmv
|
rpm2cpio libedit-devel-3.1-38.20210216cvs.el9.x86_64.rpm | cpio -idmv
|
||||||
|
mv usr/* .
|
||||||
|
rm -rf usr libedit-devel-3.1-38.20210216cvs.el9.x86_64.rpm
|
||||||
|
|
||||||
# Move to destination
|
export LD_LIBRARY_PATH=$libedit_devel_dest/lib64:$LD_LIBRARY_PATH
|
||||||
mv usr/lib64/* $dest_lib
|
export C_INCLUDE_PATH=$libedit_devel_dest/include:$C_INCLUDE_PATH
|
||||||
mv usr/include/* $dest_hdr
|
export CPLUS_INCLUDE_PATH=$libedit_devel_dest/include:$CPLUS_INCLUDE_PATH
|
||||||
|
|
||||||
cd $here
|
cd $here
|
||||||
|
|
|
||||||
|
|
@ -1,30 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# locally install libedit-devel
|
# locally install zlib
|
||||||
|
|
||||||
here=$(pwd)
|
here=$(pwd)
|
||||||
srcfolder="$here/src/zlib"
|
|
||||||
|
|
||||||
if [ -z ${ACT_HOME+x} ]; then
|
zlib_dest=~/.zlib
|
||||||
echo "Installing to ACT_HOME"
|
|
||||||
dest_lib=$ACT_HOME/lib
|
|
||||||
dest_hdr=$ACT_HOME/include
|
|
||||||
else
|
|
||||||
echo "Installing in home folder"
|
|
||||||
dest_lib=~/.zlib/lib
|
|
||||||
dest_hdr=~/.zlib/include
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create source folder
|
mkdir -p $zlib_dest
|
||||||
mkdir -p $srcfolder
|
cd $zlib_dest
|
||||||
cd $srcfolder
|
|
||||||
|
|
||||||
# Generate files
|
|
||||||
wget https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/Packages/zlib-1.2.11-40.el9.x86_64.rpm
|
wget https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/Packages/zlib-1.2.11-40.el9.x86_64.rpm
|
||||||
rpm2cpio zlib-1.2.11-40.el9.x86_64.rpm | cpio -idmv
|
rpm2cpio zlib-1.2.11-40.el9.x86_64.rpm | cpio -idmv
|
||||||
|
mv usr/lib64/* .
|
||||||
# Move to destination
|
rm -rf usr zlib-1.2.11-40.el9.x86_64.rpm
|
||||||
mv usr/lib64/* $dest_lib
|
export LD_LIBRARY_PATH=$zlib_dest:$LD_LIBRARY_PATH
|
||||||
# mv usr/include/* $dest_hdr
|
|
||||||
|
|
||||||
cd $here
|
cd $here
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ echo Building core library
|
||||||
|
|
||||||
git clone https://github.com/asyncvlsi/act.git $srcfolder/act
|
git clone https://github.com/asyncvlsi/act.git $srcfolder/act
|
||||||
cd $srcfolder/act
|
cd $srcfolder/act
|
||||||
export VLSI_TOOLS_SRC=$srcfolder/act
|
export VLSI_TOOLS_SRC=$(pwd)
|
||||||
./configure $ACT_HOME
|
./configure $ACT_HOME
|
||||||
./build
|
./build
|
||||||
make install
|
make install
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue