Skip to content

Missing cd build command in Quickstart #201

@dagardner-nv

Description

@dagardner-nv

In the Quickstart code block at https://python-hyperscan.readthedocs.io/en/latest/#quickstart

I believe that this:

$ git clone https://github.com/intel/hyperscan.git
$ mkdir -p hyperscan/build
$ cd hyperscan
$ # PCRE1 (8.xx series) is required for Chimera support
$ wget -qO- https://sourceforge.net/projects/pcre/files/pcre/8.45/pcre-8.45.tar.gz/download | tar xvz
$ git checkout v5.4.0
$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
    -DBUILD_STATIC_AND_SHARED=ON \
    -DFAT_RUNTIME=ON \
    -DPCRE_SOURCE=../pcre-8.45 \
    ../
$ # Compile with all available cores:
$ # make -j $(( $(nproc) + 1 ))
$ make
$ sudo make install

Should be changed to:

$ git clone https://github.com/intel/hyperscan.git
$ mkdir -p hyperscan/build
$ cd hyperscan
$ # PCRE1 (8.xx series) is required for Chimera support
$ wget -qO- https://sourceforge.net/projects/pcre/files/pcre/8.45/pcre-8.45.tar.gz/download | tar xvz
$ git checkout v5.4.0
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
    -DBUILD_STATIC_AND_SHARED=ON \
    -DFAT_RUNTIME=ON \
    -DPCRE_SOURCE=../pcre-8.45 \
    ../
$ # Compile with all available cores:
$ # make -j $(( $(nproc) + 1 ))
$ make
$ sudo make install

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions