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

make binary-dist fails for out of tree builds (Cygwin) #29750

Closed
musm opened this issue Oct 21, 2018 · 1 comment
Closed

make binary-dist fails for out of tree builds (Cygwin) #29750

musm opened this issue Oct 21, 2018 · 1 comment
Labels
building Build system, or building Julia or its dependencies system:windows Affects only Windows

Comments

@musm
Copy link
Contributor

musm commented Oct 21, 2018

Cygwin build (test versions of mingw binutils and ld)

  1. Make.user contains
XC_HOST = x86_64-w64-mingw32
MARCH=native
OPENBLAS_DYNAMIC_ARCH=0
  1. then build
    make -C builddir

  2. then change OPENBLAS_DYNAMIC_ARCH=1 in Maker.user in order to build binary-dist, then run

make -C builddir win-extras
make -C builddir binary-dist

output

Build finished. The HTML pages are in _build/html.
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/doc'
make[2]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
make[2]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/deps'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/deps'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/src'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/src'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/src'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/src'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/ui'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/ui'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/base'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/base'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/src'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/src'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/ui'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/ui'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/src'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/src'
make[3]: Entering directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
make[3]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
make[2]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
/cygdrive/c/Users/Mus/work/julia/contrib/install.sh 755 /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/usr/bin/julia /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/julia-fecfbf94f8/bin/
/cygdrive/c/Users/Mus/work/julia/contrib/install.sh 755 /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/usr/bin/*.dll /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/julia-fecfbf94f8/bin/
/cygdrive/c/Users/Mus/work/julia/contrib/install.sh 755 /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/usr/lib/libjulia.dll.a /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/julia-fecfbf94f8/lib/
/cygdrive/c/Users/Mus/work/julia/contrib/install.sh 755 /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/usr/bin/libopenlibm.dll.a /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/julia-fecfbf94f8/lib/
# Copy public headers
cp -R -L /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/usr/include/julia/* /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/julia-fecfbf94f8/include/julia
# Copy system image
/cygdrive/c/Users/Mus/work/julia/contrib/install.sh 755 /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/usr/lib/julia/sys.dll /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/julia-fecfbf94f8/lib/julia
# Copy in system image build script
/cygdrive/c/Users/Mus/work/julia/contrib/install.sh 755 /cygdrive/c/Users/Mus/work/julia/contrib/build_sysimg.jl /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/julia-fecfbf94f8/share/julia/
# Copy in all .jl sources as well
cp -R -L /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/usr/share/julia /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/julia-fecfbf94f8/share/
# Copy documentation
cp -R -L /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/doc/_build/html /cygdrive/c/Users/Mus/work/julia/build-win64-cyg/julia-fecfbf94f8/share/doc/julia/
cp: cannot stat '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg/doc/_build/html': No such file or directory
make[1]: *** [/cygdrive/c/Users/Mus/work/julia/Makefile:333: install] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
make: *** [/cygdrive/c/Users/Mus/work/julia/Makefile:453: binary-dist] Error 2
make: Leaving directory '/cygdrive/c/Users/Mus/work/julia/build-win64-cyg'
@musm musm changed the title make binary-dist fails for out of tree builds make binary-dist fails for out of tree builds (Cygwin) Oct 21, 2018
@ararslan ararslan added building Build system, or building Julia or its dependencies system:windows Affects only Windows labels Oct 21, 2018
@musm
Copy link
Contributor Author

musm commented Oct 28, 2018

closed by #29760

@musm musm closed this as completed Oct 28, 2018
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

No branches or pull requests

2 participants