remove xxhash.h patch (#29440)

pull/29600/head
Hannah Shi 3 years ago committed by GitHub
parent c443e33cc6
commit 1d94aa92d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      gRPC-C++.podspec
  2. 4
      gRPC-Core.podspec
  3. 4
      templates/gRPC-C++.podspec.template
  4. 4
      templates/gRPC-Core.podspec.template

4
gRPC-C++.podspec generated

@ -1843,11 +1843,9 @@ Pod::Spec.new do |s|
end end
# patch include of openssl to openssl_grpc # patch include of openssl to openssl_grpc
# patch xxhash.h to silent the -Wdocumentation error
s.prepare_command = <<-END_OF_COMMAND s.prepare_command = <<-END_OF_COMMAND
set -e set -e
find src/core -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/(.*)>;#if COCOAPODS==1\\\n #include <openssl_grpc/\\1>\\\n#else\\\n #include <openssl/\\1>\\\n#endif;g' find src/core -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/(.*)>;#if COCOAPODS==1\\\n #include <openssl_grpc/\\1>\\\n#else\\\n #include <openssl/\\1>\\\n#endif;g'
find third_party/xxhash -type f -name xxhash.h -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;@param([^,]*),;@param\\1 ,;g' find src/core/ -type f -name '*.grpc_back' -print0 | xargs -0 rm
find src/core/ third_party/xxhash/ -type f -name '*.grpc_back' -print0 | xargs -0 rm
END_OF_COMMAND END_OF_COMMAND
end end

4
gRPC-Core.podspec generated

@ -2608,11 +2608,9 @@ Pod::Spec.new do |s|
end end
# patch include of openssl to openssl_grpc # patch include of openssl to openssl_grpc
# patch xxhash.h to silent the -Wdocumentation error
s.prepare_command = <<-END_OF_COMMAND s.prepare_command = <<-END_OF_COMMAND
set -e set -e
find src/core -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/(.*)>;#if COCOAPODS==1\\\n #include <openssl_grpc/\\1>\\\n#else\\\n #include <openssl/\\1>\\\n#endif;g' find src/core -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/(.*)>;#if COCOAPODS==1\\\n #include <openssl_grpc/\\1>\\\n#else\\\n #include <openssl/\\1>\\\n#endif;g'
find third_party/xxhash -type f -name xxhash.h -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;@param([^,]*),;@param\\1 ,;g' find src/core/ -type f -name '*.grpc_back' -print0 | xargs -0 rm
find src/core/ third_party/xxhash/ -type f -name '*.grpc_back' -print0 | xargs -0 rm
END_OF_COMMAND END_OF_COMMAND
end end

@ -204,11 +204,9 @@
end end
# patch include of openssl to openssl_grpc # patch include of openssl to openssl_grpc
# patch xxhash.h to silent the -Wdocumentation error
s.prepare_command = <<-END_OF_COMMAND s.prepare_command = <<-END_OF_COMMAND
set -e set -e
find src/core -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/(.*)>;#if COCOAPODS==1\\\n #include <openssl_grpc/\\1>\\\n#else\\\n #include <openssl/\\1>\\\n#endif;g' find src/core -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/(.*)>;#if COCOAPODS==1\\\n #include <openssl_grpc/\\1>\\\n#else\\\n #include <openssl/\\1>\\\n#endif;g'
find third_party/xxhash -type f -name xxhash.h -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;@param([^,]*),;@param\\1 ,;g' find src/core/ -type f -name '*.grpc_back' -print0 | xargs -0 rm
find src/core/ third_party/xxhash/ -type f -name '*.grpc_back' -print0 | xargs -0 rm
END_OF_COMMAND END_OF_COMMAND
end end

@ -239,11 +239,9 @@
end end
# patch include of openssl to openssl_grpc # patch include of openssl to openssl_grpc
# patch xxhash.h to silent the -Wdocumentation error
s.prepare_command = <<-END_OF_COMMAND s.prepare_command = <<-END_OF_COMMAND
set -e set -e
find src/core -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/(.*)>;#if COCOAPODS==1\\\n #include <openssl_grpc/\\1>\\\n#else\\\n #include <openssl/\\1>\\\n#endif;g' find src/core -type f \\( -path '*.h' -or -path '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include <openssl/(.*)>;#if COCOAPODS==1\\\n #include <openssl_grpc/\\1>\\\n#else\\\n #include <openssl/\\1>\\\n#endif;g'
find third_party/xxhash -type f -name xxhash.h -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;@param([^,]*),;@param\\1 ,;g' find src/core/ -type f -name '*.grpc_back' -print0 | xargs -0 rm
find src/core/ third_party/xxhash/ -type f -name '*.grpc_back' -print0 | xargs -0 rm
END_OF_COMMAND END_OF_COMMAND
end end

Loading…
Cancel
Save