Coder Social home page Coder Social logo

Not Building about tensorflow-opencl HOT 7 OPEN

benoitsteiner avatar benoitsteiner commented on September 21, 2024
Not Building

from tensorflow-opencl.

Comments (7)

rodburns avatar rodburns commented on September 21, 2024

We are just trying to reproduce this at the moment.

from tensorflow-opencl.

lukeiwanski avatar lukeiwanski commented on September 21, 2024

@lorenzo93 Does it compile fine without --config=sycl ?

from tensorflow-opencl.

lorenzo93 avatar lorenzo93 commented on September 21, 2024

@lukeiwanski Without the parameter just build fine with GCC6 and G++6.
As you sad in the other issue I tryied also to downgrade GCC6 header to GCC5.
(Don't know if is correct but I just installed gcc-5 g++-5 and when ./configure asked the compilers i gave it /usr/bin/gcc-5 and /usr/bin/g++-5)

During this compilation the error was different, you can find the file in the attachments.
Errors

Thank you very much for your help! :)

from tensorflow-opencl.

lukeiwanski avatar lukeiwanski commented on September 21, 2024

/usr/lib/gcc/x86_64-linux-gnu/6.2.0/../../../../include/c++/6.2.0/bits/stl_vector.h:914:7: note:

you are still using GCC6 headers

from tensorflow-opencl.

lorenzo93 avatar lorenzo93 commented on September 21, 2024

I'm sorry but I'm not so used to work with linux.

I've setted the default GCC and G++ link to gcc-5 and g++-5 and build it but is still using the 6th version.
I've also tryed to unistall gcc6 but seems to be required by bazel.
It seems that is bazel calling the wrong gcc bin, someone is telling to change the CROSSTOOL file changin manually the gcc path.
I modified third_party/sycl/crosstool/CROSSTOOL.tpl file but the compiler is still using GCC6.

How can I switch correctly GCC version?

from tensorflow-opencl.

lukeiwanski avatar lukeiwanski commented on September 21, 2024

Did you re-configure project after modifying hird_party/sycl/crosstool/CROSSTOOL.tpl?

from tensorflow-opencl.

lorenzo93 avatar lorenzo93 commented on September 21, 2024

Yes, but I checked and the modification is still there.
The only change I made to that file was on line 45 making the path pointing directly to gcc5 include folder.
CROSSTOOL

from tensorflow-opencl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.