2013年12月20日金曜日

mac osx 環境変数 忘備録

関連ファイル /etc/profile /etc/bashrc ターミナルを開く毎に実行 ~/.bashrc ログイン時に実行 ~/.profile ~/.bash_profile 自分は、~/.profile に記述してるよ
##
# Cinder part
##
# export CINDER_HOME=/usr/local/src/cinder_0.8.2_mac

##
# Cuda SDK part
##
export PATH=/usr/local/cuda/bin:$PATH
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH
export GPU_INCDIR="/Developer/GPU Computing/C/common/inc"
export C_INCLUDE_PATH=$GPU_INCDIR:$C_INCLUDE_PATH
export CPLUS_INCLUDE_PATH=$GPU_INCDIR:$CPLUS_INCLUDE_PATH

##
# Android NDK part
##
export ANDROID_NDK=/opt/android-ndk-r8d
export PATH=$ANDROID_NDK:$PATH
export ANDROID_TOOLCHAIN_CMAKE=$ANDROID_NDK/toolchains/android.toolchain.cmake

alias android-cmake='cmake -DCMAKE_TOOLCHAIN_FILE=$ANDTOOLCHAIN '

##
# Your previous /Users/okimiyuki/.profile file was backed up as /Users/okimiyuki/.profile.macports-saved_2012-06-03_at_22:46:38
##

# MacPorts Installer addition on 2012-06-03_at_22:46:38: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.


0 件のコメント: