1 Star 0 Fork 0

WangYue0426/pastix

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pastix_env.sh.in 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
Mathieu Faverge 提交于 2021-04-07 23:45 . Final update for release 6.2.0
#
# @file pastix_env.sh
#
# @copyright 2016-2021 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
# Univ. Bordeaux. All rights reserved.
#
# @version 6.1.0
# @author Mathieu Faverge
# @author Pierre Ramet
# @date 2019-11-12
#
#!/bin/sh
LIB=pastix
export PASTIX_DIR=@CMAKE_INSTALL_PREFIX@
for i in PATH DYLD_LIBRARY_PATH LD_LIBRARY_PATH LIBRARY_PATH LD_RUN_PATH INCLUDE INCLUDE_PATH PKG_CONFIG_PATH PYTHONPATH
do
for j in /pastix
do
cmd1="echo \\\"\$$i\\\" | sed -E 's+^(\(.*:|\))[^:]*${j}[^:]*(\(|:.*\))$+\1\2+' | sed 's/::/:/' | sed 's/^://' | sed 's/:$//' "
temp=`eval $cmd1`;
eval "$i=$temp";
done
done
export PATH=$PATH:$PASTIX_DIR/bin
export LD_RUN_PATH=$LD_RUN_PATH:$PASTIX_DIR/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PASTIX_DIR/lib
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$PASTIX_DIR/lib
export LIBRARY_PATH=$LIBRARY_PATH:$PASTIX_DIR/lib
export PYTHONPATH=$PYTHONPATH:$PASTIX_DIR/lib/python
export INCLUDE=$INCLUDE:$PASTIX_DIR/include
export INCLUDE_PATH=$INCLUDE_PATH:$PASTIX_DIR/include
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$PASTIX_DIR/lib/pkgconfig
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangyue0426/pastix.git
git@gitee.com:wangyue0426/pastix.git
wangyue0426
pastix
pastix
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385