Alien-Google-GRPC

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN


share {

  build [
    [ '%{git} submodule update --init' ],
    ## Hot patch so new gcc7.x warnings are not converted into error. 
    ## -Werror is considered to be bad to use in production code. 
    [ 'find . -type f -not -regex ".*\.\(o\|h\|c\|a\|t\|cc\|so\)" -exec sed -i -e "s/-Werror/-Wno-excessive-errors/g" {} \;' ],
    [ 'bash <<"USE_A_SHELL"
        echo "** Build Dir is: "; pwd
        prefix=%{.install.prefix}  PROTOBUF_CONFIG_OPTS=--prefix=%{.install.prefix} EMBED_OPENSSL=true make
        prefix=%{.install.prefix} make install
        cd ./third_party/protobuf
        make install
        make clean
        cd ../../
        make clean
USE_A_SHELL
    ' ],
  ];



( run in 1.049 second using v1.01-cache-2.11-cpan-71847e10f99 )