Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CYGWIN] [BUILD] deps/blastrampoline: Fix build with USE_BINARYBUILDER_BLASTRAMPOLINE=0 #49938

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

stahta01
Copy link
Contributor

Error:

cp: cannot stat 'libblastrampoline.dll': No such file or directory

Build commands:

cd ~/devel/julia && \
git clean -ffxd --exclude=srccache --exclude=scratch && \
  [[ -d "./usr-staging" ]] && rm -rf "./usr-staging" ; \
  [[ -d "./usr" ]] && rm -rf "./usr" ; \
  [[ -d "./deps/srccache/blastrampoline.git" ]] && rm -rf "./deps/srccache/blastrampoline.git" ; \
  [[ -d "./deps/scratch/blastrampoline" ]] && rm -rf "./deps/scratch/blastrampoline" ; \
  [[ -d "./deps/scratch/SuiteSparse-5.10.1" ]] && rm -rf "./deps/scratch/SuiteSparse-5.10.1" ; \
git checkout master && \
git log -1 --format=oneline && \
echo 'XC_HOST = x86_64-w64-mingw32'          > Make.user && \
echo 'DEPS_GIT = 1'                         >> Make.user && \
echo 'USE_BINARYBUILDER_BLASTRAMPOLINE = 0' >> Make.user && \
echo 'USE_BINARYBUILDER_LIBSUITESPARSE = 0' >> Make.user && \
make -C deps install-csl && \
cp /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libmsvcrt.a ./usr/lib/libmsvcrt.a && \
make all --jobs=1 2>&1 | tee ../julia-master-blastrampoline-all-build.log && echo -ne '\007'

Tim S.

@stahta01 stahta01 changed the title [CYGWIN] {BUILD] deps/blastrampoline: USE_BINARYBUILDER_BLASTRAMPOLINE=0 [CYGWIN] [BUILD] deps/blastrampoline: Fix build with USE_BINARYBUILDER_BLASTRAMPOLINE=0 May 23, 2023
@stahta01 stahta01 marked this pull request as ready for review May 23, 2023 15:11
@ViralBShah ViralBShah added building Build system, or building Julia or its dependencies system:windows Affects only Windows labels May 23, 2023
Copy link
Sponsor Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the expectation there (in #45909) was that this cp would rewrite the soft link to a hard link at the same place?

@stahta01
Copy link
Contributor Author

I think the expectation there (in #45909) was that this cp would rewrite the soft link to a hard link at the same place?

That was my guess; but, since there is no longer a soft link it errors out now.

Tim S.

@stahta01 stahta01 force-pushed the blastrampoline-cygwin_build_fix branch from c02a5da to 8c3cafc Compare June 11, 2023 01:05
@giordano giordano merged commit b99e411 into JuliaLang:master Jul 25, 2024
lazarusA pushed a commit to lazarusA/julia that referenced this pull request Aug 17, 2024
…R_BLASTRAMPOLINE=0 (JuliaLang#49938)

Error:
```
cp: cannot stat 'libblastrampoline.dll': No such file or directory
```
Build commands:
```
cd ~/devel/julia && \
git clean -ffxd --exclude=srccache --exclude=scratch && \
  [[ -d "./usr-staging" ]] && rm -rf "./usr-staging" ; \
  [[ -d "./usr" ]] && rm -rf "./usr" ; \
  [[ -d "./deps/srccache/blastrampoline.git" ]] && rm -rf "./deps/srccache/blastrampoline.git" ; \
  [[ -d "./deps/scratch/blastrampoline" ]] && rm -rf "./deps/scratch/blastrampoline" ; \
  [[ -d "./deps/scratch/SuiteSparse-5.10.1" ]] && rm -rf "./deps/scratch/SuiteSparse-5.10.1" ; \
git checkout master && \
git log -1 --format=oneline && \
echo 'XC_HOST = x86_64-w64-mingw32'          > Make.user && \
echo 'DEPS_GIT = 1'                         >> Make.user && \
echo 'USE_BINARYBUILDER_BLASTRAMPOLINE = 0' >> Make.user && \
echo 'USE_BINARYBUILDER_LIBSUITESPARSE = 0' >> Make.user && \
make -C deps install-csl && \
cp /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libmsvcrt.a ./usr/lib/libmsvcrt.a && \
make all --jobs=1 2>&1 | tee ../julia-master-blastrampoline-all-build.log && echo -ne '\007'
```

Tim S.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies system:windows Affects only Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants