exec.sh 487 B

1234567891011121314151617
  1. if [ ! -f "glibc-2.35.tar.gz" ]; then
  2. wget https://ftp.gnu.org/gnu/glibc/glibc-2.35.tar.gz
  3. fi
  4. if [ ! -d "glibc-2.35" ]; then
  5. tar -xvf glibc-2.35.tar.gz
  6. cp ./install_deps.sh ./glibc-2.35/
  7. cp ./default_configure.sh ./glibc-2.35/
  8. fi
  9. cd glibc-2.35
  10. bash install_deps.sh
  11. bash default_configure.sh
  12. cd build
  13. make -j $(nproc)
  14. DESTDIR=$DADK_CURRENT_BUILD_DIR make install -j $(nproc)
  15. mkdir -p $DADK_CURRENT_BUILD_DIR/lib64
  16. cp -r $DADK_CURRENT_BUILD_DIR/lib/* $DADK_CURRENT_BUILD_DIR/lib64