Git Product home page Git Product logo

Comments (2)

tomdeakin avatar tomdeakin commented on June 29, 2024

Option 1 is straightforward to implement after I've done som searching and will result in no changes or steps for a Mac user once they have downloaded the examples. The source files check for the APPLE macro so there is no reason that the makefile can't check which platform we are on too. The examples of this I found use uname and check for Darwin.

Will add this to the makefiles.

from exercises-solutions.

tomdeakin avatar tomdeakin commented on June 29, 2024

I have applied some fixes so that:

  • The global makefiles detect the platform
  • This defines the APPLE variable for the other makefiles
  • The lower makefiles then set the -DAPPLE and -framework OpenCL flags for the compiler based on the behaviour in the master makefile

This is the latest version (anything above this commit: 82e378e). Would you please be able to test this on your OSX please!

The individual Makefiles don't test the OS, but you could do: APPLE='' make at the prompt for the same behaviour here.

from exercises-solutions.

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.