Skip to content

Commit

Permalink
Merge pull request f4pga#1883 from antmicro/fix-sdc-install
Browse files Browse the repository at this point in the history
install: resolve symlinks before packaging
  • Loading branch information
litghost committed Dec 17, 2020
2 parents 59beae6 + 6a04938 commit af5913d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/kokoro/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ echo "Compressing and uploading install dir"
echo "----------------------------------------"
(
rm -rf build

# Remove symbolic links and copy content of the linked files
for file in $(find install -type l)
do cp --remove-destination $(readlink $file) $file
done

du -ah install
export GIT_HASH=$(git rev-parse --short HEAD)
tar -I "pixz" -cvf symbiflow-arch-defs-install-${GIT_HASH}.tar.xz -C install bin share/symbiflow/techmaps share/symbiflow/scripts environment.yml
Expand Down

0 comments on commit af5913d

Please sign in to comment.