Giter Club home page Giter Club logo

Comments (7)

skeuchel avatar skeuchel commented on August 24, 2024

Same on riscv64

kitty/simd-string.c: In function ‘init_simd’:
kitty/simd-string.c:198:35: error: implicit declaration of function ‘__builtin_cpu_supports’; did you mean ‘__builtin_isupper’? [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;]
  198 | #define do_check() { has_sse4_2 = __builtin_cpu_supports("sse4.2") != 0; has_avx2 = __builtin_cpu_supports("avx2") != 0; }
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
kitty/simd-string.c:221:5: note: in expansion of macro ‘do_check’
  221 |     do_check();
      |     ^~~~~~~~

from kitty.

kovidgoyal avatar kovidgoyal commented on August 24, 2024

dup of #7219

from kitty.

solopasha avatar solopasha commented on August 24, 2024

It fails to build from git master (commit 32f0da2) with the same errors.

from kitty.

kovidgoyal avatar kovidgoyal commented on August 24, 2024

Dont see how that's possible given that KITTY_NO_SIMD is defined on all arches other than intel and arm64. See setup.py

from kitty.

skeuchel avatar skeuchel commented on August 24, 2024

It's kitty/simd-string.c that is failing to compile. It looks as if KITTY_NO_SIMD is only set for kitty/simd-string-128.c and kitty/simd-string-256.c

kitty/setup.py

Line 700 in aee84c3

if src in ('kitty/simd-string-128.c', 'kitty/simd-string-256.c'):

from kitty.

kovidgoyal avatar kovidgoyal commented on August 24, 2024

Ah, right. This should fix it: 5e0185d

from kitty.

skeuchel avatar skeuchel commented on August 24, 2024

Builds for me now on master. Thanks!

from kitty.

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.