Giter Club home page Giter Club logo

Comments (8)

genivia-inc avatar genivia-inc commented on May 17, 2024

I will remove option -P from the prebuilt binaries altogether.

EDIT:

For those that want a MacOS version of ugrep with all features enabled, you may want to use Homebrew to install the latest release:

$ brew install https://raw.githubusercontent.com/Genivia/ugrep/master/Formula/ugrep.rb

See #21.

END EDIT

To install pcre2 on Mac, use macports:

$ sudo port install pcre2

Or if you prefer homebrew:

$ brew install pcre2

If you don't have bzip2-dev and lzma-dev (check with ls /usr/lib/libbz2* /usr/lib/liblzma*, then try this:

$ sudo port install bzip2
$ sudo port install xz

from ugrep.

grylem avatar grylem commented on May 17, 2024

maybe I found the reason: Illegal instruction: 4
I used an mac computer for testing and the latest version of ugrep that works on it - 1.7.6,
all others include the latter give an error - Illegal instruction: 4

from ugrep.

genivia-inc avatar genivia-inc commented on May 17, 2024

It could be an AVX problem. I've now updated bin/macosx/ugrep in the master branch to use SSE2 only.

from ugrep.

grylem avatar grylem commented on May 17, 2024

Works on new mac with Mojave/Catalina, but on old with High Sierra - Illegal instruction: 4

from ugrep.

genivia-inc avatar genivia-inc commented on May 17, 2024

We should create a homebrew formula for ugrep instead of sharing the binary, because it's best to use ugrep's optimizations for speed. I'll get to that in a few days.

from ugrep.

genivia-inc avatar genivia-inc commented on May 17, 2024

I've created a homebrew formula. However, the brew audit command says "repository not notable enough (<30 forks, <30 watchers and <75 stars)". Well, this is not surprising as the repo is relatively quite new.

It seems we need more stars and forks to release a homebrew formula.

Any help is appreciated.

from ugrep.

genivia-inc avatar genivia-inc commented on May 17, 2024

See "help wanted" #21

from ugrep.

genivia-inc avatar genivia-inc commented on May 17, 2024

For those that want a MacOS version of ugrep with all features enabled, use brew tap https://github.com/Genivia/ugrep to clone ugrep on your system with homebrew tap. Then brew install ugrep to install ugrep . I'll create a homebrew formula later, see #21.

from ugrep.

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.