Advertisement
theguild42

pre-build blender

Nov 15th, 2024
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.14 KB | Source Code | 0 0
  1. PATH=${HOME}/gitrepos/blender/extern/python/bin:/bin:/usr/local/sbin:/usr/local/bin:/opt/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/opt/cuda/bin
  2.  
  3. if [ ! -d ${HOME}/gitrepos/blender ]; then
  4.     git clone --recursive --branch="v3.6.17" https://projects.blender.org/blender/blender.git ${HOME}/gitrepos/blender
  5. fi
  6. if [ ! -d ${HOME}/gitrepos/cpython ]; then
  7.     git clone --recursive --branch="v3.10.15" https://github.com/python/cpython.git ${HOME}/gitrepos/cpython
  8. fi
  9. if [ -d ${HOME}/gitrepos/blender ] && [ -d ${HOME}/gitrepos/cpython ]; then
  10.     print "The repositories for Blender and CPython have been found."
  11. fi
  12.  
  13. . ${HOME}/Documents/buildPython.sh
  14. /home/whitequill//gitrepos/blender/extern/python/bin/python3.10 -m pip install --upgrade pip
  15.  
  16. git clone --recursive --branch="v3.6.17" https://projects.blender.org/blender/blender-addons.git ${HOME}/gitrepos/blender/scripts/addons
  17.  
  18. wget http://developer.download.nvidia.com/cg/Cg_3.1/Cg-3.1_April2012_x86_64.tgz -P /usr/tmp/Cg-3.1
  19. mkdir -p ${HOME}/gitrepos/blender/extern/nvcgc
  20. tar zxf /usr/tmp/Cg-3.1/Cg-3.1_April2012_x86_64.tgz -C ${HOME}/gitrepos/blender/extern/nvcgc
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement