Skip to content

Commit

Permalink
[CMake/RPM] Remove google crc32c.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jan 17, 2020
1 parent 64d2d8e commit 367f86f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 73 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Expand Up @@ -49,11 +49,6 @@ endmacro()
#-------------------------------------------------------------------------------
# Build in subdirectories
#-------------------------------------------------------------------------------
add_subdirectory( external )
if( HAVE_CRC32C )
add_definitions( -DHAVE_CRC32C )
endif()

add_subdirectory( src )
add_subdirectory( bindings )

Expand Down
46 changes: 0 additions & 46 deletions external/CMakeLists.txt

This file was deleted.

22 changes: 0 additions & 22 deletions packaging/makesrpm.sh
Expand Up @@ -243,7 +243,6 @@ fi
# Make sure submodules are in place
#-------------------------------------------------------------------------------
git submodule init
git submodule update -- external/crc32c
git submodule update -- src/XrdClHttp
git submodule update -- src/XrdCeph
#git submodule foreach git pull origin master
Expand Down Expand Up @@ -298,27 +297,6 @@ fi

cd - > /dev/null

#-------------------------------------------------------------------------------
# Add external/crc32c sub-module to our tarball
#-------------------------------------------------------------------------------
cd external/crc32c

TAG=1.1.0

git archive --prefix=xrootd/external/crc32c/ --format=tar $TAG > $RPMSOURCES/xrootd-crc32c.tar
if test $? -ne 0; then
echo "[!] Unable to create the xrootd-crc32c source tarball" 1>&2
exit 6
fi

tar --concatenate --file $RPMSOURCES/xrootd.tar $RPMSOURCES/xrootd-crc32c.tar
if test $? -ne 0; then
echo "[!] Unable to add xrootd-crc32c to xrootd tarball" 1>&2
exit 6
fi

cd - > /dev/null

#-------------------------------------------------------------------------------
# gzip the tarball
#-------------------------------------------------------------------------------
Expand Down

0 comments on commit 367f86f

Please sign in to comment.