- macOS 10.13.6
- Xcode 10.1 (10B61)
いつの間にかビルドがうまく出来なくなったので対処。
#!/usr/bin/env python | |
# The MIT License (MIT) | |
# Copyright © 2015 Recruit Technologies Co.,Ltd. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
# Required download | |
# cudnn-8.0-linux-x64-v5.1.tgz | |
curl -L -o cuda_8.0.44_linux.run https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_linux-run | |
curl -L -O http://us.download.nvidia.com/XFree86/Linux-x86_64/367.27/NVIDIA-Linux-x86_64-367.27.run | |
sudo apt-get install build-essential | |
sudo apt-get install linux-image-extra-`uname -r` | |
sudo sh cuda_8.0.44_linux.run | |
echo -e "export CUDA_HOME=/usr/local/cuda\nexport PATH=\$PATH:\$CUDA_HOME/bin\nexport LD_LIBRARY_PATH=\$LD_LINKER_PATH:\$CUDA_HOME/lib64" >> ~/.bashrc |