Skip to content

Commit

Permalink
Removed PHP support for third_party/wyhash in favor of ABSL wyhash.
Browse files Browse the repository at this point in the history
  • Loading branch information
haberman committed Aug 2, 2021
1 parent 9d578a3 commit c5960fd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 26 deletions.
2 changes: 0 additions & 2 deletions php/ext/google/protobuf/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
<file baseinstalldir="/" name="protobuf.c" role="src"/>
<file baseinstalldir="/" name="protobuf.h" role="src"/>
<file baseinstalldir="/" name="wkt.inc" role="src"/>
<file baseinstalldir="/" name="third_party/wyhash/wyhash.h" role="src"/>
<file baseinstalldir="/" name="third_party/wyhash/LICENSE" role="doc"/>
<file baseinstalldir="/" name="LICENSE" role="doc"/>
</dir>
</contents>
Expand Down
3 changes: 0 additions & 3 deletions php/generate_test_protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ set -e

cd `dirname $0`

./prepare_c_extension.sh

if ../src/protoc --help > /dev/null; then
PROTOC=src/protoc
else
(cd .. && bazel build -c opt :protoc)
PROTOC=bazel-bin/protoc
fi


if [[ -d tmp && -z $(find tests/proto ../$PROTOC -newer tmp) ]]; then
# Generated protos are already present and up to date, so we can skip protoc.
#
Expand Down
20 changes: 0 additions & 20 deletions php/prepare_c_extension.sh

This file was deleted.

1 change: 0 additions & 1 deletion php/tests/compile_extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -e

cd $(dirname $0)

../prepare_c_extension.sh
pushd ../ext/google/protobuf > /dev/null

CONFIGURE_OPTIONS=("./configure" "--with-php-config=$(which php-config)")
Expand Down

0 comments on commit c5960fd

Please sign in to comment.