GithubHelp home page GithubHelp logo

Comments (6)

taml avatar taml commented on May 22, 2024

Hello, I'd like to help with this if possible. I'm pretty new to Android, is this just a case of going through the code and switching any use of LOCAL_CXXFLAGS to LOCAL_CPPFLAGS or is there a bit more to it than that? Thanks

from shaderc.

dneto0 avatar dneto0 commented on May 22, 2024

Yes, it's just making that change in the one Android.mk file. :-)

Real work is in verifying the change. I'd like to test it with the NDK versions r10e and r13.

Here's an example of how I test the build, customized to NDK location and especially how the tree is checked out. (Actually it's a bit of a wonky structure but it works).

#!/bin/bash

export ANDROID_NDK=$HOME/android-ndk-r10e
export SPVTOOLS_LOCAL_PATH=$SRC_TREE/third_party/spirv-tools
export SPVHEADERS_LOCAL_PATH=$SRC_TREE/third_party/spirv-headers

# Allow use of args like -j 30
exec $ANDROID_NDK/ndk-build NDK_APP_OUT=`pwd` -C $SRC_TREE/third_party/shaderc/android_test \
  V=1 \
  SPVTOOLS_LOCAL_PATH=$SPVTOOLS_LOCAL_PATH \
  SPVHEADERS_LOCAL_PATH=$SPVHEADERS_LOCAL_PATH \
  "$@"

If you can make the Android.mk change and verify with the two versions of the NDK that would be grand!

from shaderc.

taml avatar taml commented on May 22, 2024

Thanks for the information, I've updated the one Android.mk file, but I think the testing is a little out of my depth, so haven't submitted a PR just yet. If there's anything a little more beginner level I can work on, I'd love to help out!

from shaderc.

dneto0 avatar dneto0 commented on May 22, 2024

@taml I hear you. :-) If you're willing to help on another project, I have something in mind in KhronosGroup/SPIRV-Tools. I haven't written it down yet, but it's a nice isolated piece that can be verified on any platform. I'm taking this opportunity to formalize the "help wanted" process and task list in that project. Stay tuned.

from shaderc.

taml avatar taml commented on May 22, 2024

@dneto0 Yeah sure, I'd definitely be interested in helping out!

from shaderc.

dneto0 avatar dneto0 commented on May 22, 2024

Take a look at KhronosGroup/SPIRV-Tools#502
Should be some Python and C++.
Note that SPIRV-Tools is used as a part of Shaderc so if you've built Shaderc then you've already built SPIRV-Tools.
SPIRV-Tools has its own contributors license agreement.

from shaderc.

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.