Skip to content

Commit

Permalink
Update ghdl link for darwin-x64
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Oct 10, 2023
1 parent 2e60690 commit e6ee72e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions default/scripts/ghdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ if [ ${ARCH} == 'linux-arm' ] || [ ${ARCH} == 'linux-arm64' ] || [ ${ARCH} == 'l
param=--with-llvm-config='llvm-config'
LDFLAGS=-L/usr/lib/${CROSS_NAME}
elif [ ${ARCH} == 'darwin-x64' ]; then
wget https://github.com/ghdl/ghdl/releases/download/nightly/ghdl-macos-10.15-mcode.tgz
wget https://github.com/ghdl/ghdl/releases/download/nightly/ghdl-macos-11-mcode.tgz
mkdir -p ${OUTPUT_DIR}${INSTALL_PREFIX}
tar xvfz ghdl-macos-10.15-mcode.tgz -C ${OUTPUT_DIR}${INSTALL_PREFIX}
install_name_tool -id @executable_path/../lib/libghdl-3_0_0_dev.dylib ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/libghdl-3_0_0_dev.dylib
tar xvfz ghdl-macos-11-mcode.tgz -C ${OUTPUT_DIR}${INSTALL_PREFIX}
install_name_tool -id @executable_path/../lib/libghdl-4_0_0_dev.dylib ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/libghdl-4_0_0_dev.dylib
wget https://github.com/mmicko/macos-resources/releases/download/v2/libgnat-2019.dylib
cp libgnat-2019.dylib ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/.
exit 0
Expand Down

0 comments on commit e6ee72e

Please sign in to comment.