GithubHelp home page GithubHelp logo

Unable to run build/run tests about c-thing HOT 3 CLOSED

triss avatar triss commented on May 23, 2024
Unable to run build/run tests

from c-thing.

Comments (3)

postspectacular avatar postspectacular commented on May 23, 2024

just pushed an update, can you please check once more? (thx for your help)

from c-thing.

triss avatar triss commented on May 23, 2024

That's cleared the above issue...

New problem in hashfn.c now though:

src/math/hashfn.c: In function ‘ct_murmur3_32’:
src/math/hashfn.c:33:50: error: dereferencing ‘void *’ pointer [-Werror]
   const uint8_t *tail    = (const uint8_t *)&data[numBlocks << 2];
                                                  ^
cc1: all warnings being treated as errors
test.make:270: recipe for target 'obj/sse/debug/test/hashfn.o' failed
make[1]: *** [obj/sse/debug/test/hashfn.o] Error 1
Makefile:50: recipe for target 'test' failed
make: *** [test] Error 2

from c-thing.

postspectacular avatar postspectacular commented on May 23, 2024

Oki, fixed some more minor things and update build scripts managed to test w/ gcc:

gcc-6 -v
# gcc version 6.1.1 20160511 (Ubuntu 6.1.1-3ubuntu11~14.04.1)

CC=gcc-6
export CC

rm -rf bin/ obj/

# IMPORTANT! regenerate make files
premake5 gmake

make config=release_sse test
bin/release/test
[INFO] (test/main.c:96) ----- RUN TESTS: all_tests -----
[INFO] (test/main.c:47) using SSE...
[INFO] (test/main.c:50) using SSE2...
[INFO] (test/main.c:53) using SSE3...
[INFO] (test/main.c:56) using SSE4...
....
[INFO] (test/main.c:96) Tests run: 27, total asserts: 292
[SUCCESS] (test/main.c:96) ALL TESTS PASSED

from c-thing.

Related Issues (1)

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.