-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_configure_cpu_1.15
37 lines (25 loc) · 1.17 KB
/
run_configure_cpu_1.15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/expect
spawn ./configure
expect "Please specify the location of python*"
send "\n"
expect "Please input the desired Python library path to use*"
send "\n"
expect "Do you wish to build TensorFlow with XLA JIT support?"
send "y\n"
expect "Do you wish to build TensorFlow with OpenCL SYCL support?"
send "n\n"
expect "Do you wish to build TensorFlow with ROCm support?"
send "n\n"
expect "Do you wish to build TensorFlow with CUDA support?"
send "n\n"
expect "Do you wish to download a fresh release of clang?"
send "n\n"
# MPI нужно в случае, когда у нас несколько GPU в машине и обучать мы хотим на всех сразу
expect "Do you wish to build TensorFlow with MPI support?"
send "n\n"
# По умолчанию в linux использует флаг -march=native, который автоматически определяет, какие инструкции поддерживает CPU
expect "Please specify optimization flags to use during compilation when bazel option \"--config=opt\" is specified"
send "\n"
expect "Would you like to interactively configure ./WORKSPACE for Android builds?"
send "n\n"
interact