
* add tensorflow Change-Id: Id778c68d148cc42f0b478a9d10a8f937cb54cdc6 * make bazel and tensorflow build Change-Id: Iae9005e8f4dcc8f1ed36ea9337d2430aeebb291f * fix flake8 Change-Id: Ib05529dd796eab4a8855a5d7775cc4efea8e479d * 2nd flake8 attempt Change-Id: I46224be3a374b2a65793048b0c5178ea64adbd78 * replace md5 sums with sha256 * add version 1.13.2 * bazel() -> bazel('build',... * specify versions of bazel dependency * build with CUDA * add TODOs * add more todo"s * improve enum34 dependency * py-future is a dependency as of v1.14 * Update var/spack/repos/builtin/packages/tensorflow/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/tensorflow/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/tensorflow/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/tensorflow/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * enable nccl, cuda by default * explain patches * add todo * remove unnecessary copt_flag * use join * join argument must be an iterable * split long line; use same opts for non-cuda build * without opt flags, configure hangs * introduce build phases; re-arrange * undo mistake * restore unset tmp_path * as of v1.14, nccl_install_path is parsed correctly, hence change ...prefix.lib to ...prefix * now, version 1.14 compiles successfully with cuda * add version 2.1.0 * specify bazel dependency for version 2.1.0-rc0 * account for deprecated bazel opts for v2.1.0-rc0 * disable mkldnn contraction kernel * Flake8 fixes * md5 -> sha256 * Fix TF and TF-estimator version deps * Don't just comment out patch * Add myself as a maintainer * Patch py-astor to support newer py-setuptools * Add more versions and bazel version constraints * Add a build phase * Add note about configure interactivity * dev-build -> build-env * Disable iOS build * Use correct optimization flags * Add variants for all possible features * nccl isn't always a dependency * Specify correct dependency versions for each release * Libs may not be in lib or lib64 * Add py-opt-einsum package * Add newer version of py-protobuf * Add newer version of py-wrapt * Fix Python 2.6 syntax error * Code review * Set more env vars for older versions * Add more env vars, fix bazel versions, add conflicts * Fix config options * Specify version that support --config args * Add py-future dependency for Python 2 * Fix cuda config flag and compute capabilities * Fix installation on macOS, add unit tests * Override cuda variant default to True on non-macOS * Rename tensorflow to py-tensorflow * Has to extend something * Fix os.symlink call * convert cuda_arc values to capabilities * restore nccl prefix path for v1.13.1 * Revert to v2 * Remove extraneous period * Add new version of jdk/openjdk * More stable cuda_arch formatting * Fix bazel unit tests * Fix symlinking * Fix unit tests * +gcp by default until build error figured out
22 lines
899 B
Diff
22 lines
899 B
Diff
+++ tensorflow-1.0.0-rc2/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl 2017-02-15 20:40:47.633496842 +0100
|
|
--- tensorflow-1.0.0-rc2/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl 2017-02-08 19:32:14.000000000 +0100
|
|
@@ -46,13 +46,13 @@ import sys
|
|
import pipes
|
|
|
|
# Template values set by cuda_autoconf.
|
|
-CPU_COMPILER = ('%{cpu_compiler}')
|
|
-GCC_HOST_COMPILER_PATH = ('%{gcc_host_compiler_path}')
|
|
+CPU_COMPILER = os.environ['SPACK_CC']
|
|
+GCC_HOST_COMPILER_PATH = CPU_COMPILER
|
|
|
|
CURRENT_DIR = os.path.dirname(sys.argv[0])
|
|
NVCC_PATH = CURRENT_DIR + '/../../../cuda/bin/nvcc'
|
|
-LLVM_HOST_COMPILER_PATH = ('/usr/bin/gcc')
|
|
-PREFIX_DIR = os.path.dirname(GCC_HOST_COMPILER_PATH)
|
|
+LLVM_HOST_COMPILER_PATH = os.environ['SPACK_CC']
|
|
+PREFIX_DIR = os.path.dirname(os.environ['SPACK_CC'])
|
|
NVCC_VERSION = '%{cuda_version}'
|
|
|
|
def Log(s):
|
|
|