rsnk96 / Ubuntu-Setup-Scripts

Scripts to help you set up your Ubuntu quickly, especially if you're in any subfield of Data Science or AI!
Apache License 2.0
126 stars 76 forks source link

Fix attempts for Ubuntu 20.04 Focal #88

Closed rsnk96 closed 4 years ago

rsnk96 commented 4 years ago

Integrated changes suggested in https://github.com/rsnk96/Ubuntu-Setup-Scripts/issues/87 along with some minor updates

rsnk96 commented 4 years ago

@rajat2004 any idea why a travis build didn't get triggered with this PR?

rajat2004 commented 4 years ago

It got triggered, but the build did not start since there was an indentation err in the .yml file. Request can be seen by going to More Options -> Requests image

rajat2004 commented 4 years ago

The matrix build isn't working and from the scarce info I can get from some Github issues, we'll need to specify each job separately. I've updated the travis.yml file to use SCRIPT env variable to distinguish between which script/s to run, and a single place for all of them. The last commit also removes running of opencv test in gdb, this is the same as https://github.com/rsnk96/Ubuntu-Setup-Scripts/pull/86 which needs to be looked into

rsnk96 commented 4 years ago

Looks like Tensorflow is also having similar problems, probably with the updated GCC. But it seems like a pain to be able to change this: https://github.com/bazelbuild/bazel/issues/4077

Assuming we can't figure out a fix for this, I think we should just leave the tensorflow installation in Build-ML.sh with the error (the TF team should hopefully fix it soon). What's your take?

3,398 / 3,405] 2 actions running
    Compiling tensorflow/core/distributed_runtime/graph_mgr.cc; 7s local
    Compiling tensorflow/core/kernels/concat_lib_gpu.cc; 5s local
ERROR: /home/travis/.cache/bazel/_bazel_travis/2792edddbcfba0186411ea8a4b7952f1/external/grpc/BUILD:507:1: C++ compilation of rule '@grpc//:gpr_base' failed (Exit 1)
[3,400 / 3,406] Compiling .../core/distributed_runtime/graph_mgr.cc; 7s local
biguating new declaration of 'long int gettid()'
   43 | static long gettid(void) { return syscall(__NR_gettid); }
      |             ^~~~~~
In file included from /usr/include/unistd.h:1170,
                 from external/grpc/src/core/lib/gpr/log_linux.cc:41:
/usr/include/x86_64-linux-gnu/bits/unistd_ext.h:34:16: note: old declaration '__pid_t gettid()'
   34 | extern __pid_t gettid (void) __THROW;
      |                ^~~~~~
[3,400 / 3,406] Compiling .../core/distributed_runtime/graph_mgr.cc; 7s local
[3,401 / 3,406] checking cached actions
mand lines of failed build steps.
[3,401 / 3,406] checking cached actions
INFO: Elapsed time: 3632.308s, Critical Path: 106.11s
[3,401 / 3,406] checking cached actions
INFO: 3143 processes: 3143 local.
[3,401 / 3,406] checking cached actions
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully