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

multithreading update (PR #42340) leads to build error on macOS arm64 machine #44249

Closed
truedichotomy opened this issue Feb 19, 2022 · 1 comment · Fixed by #44251
Closed

Comments

@truedichotomy
Copy link

PR #42340 led to this Julia master build error on macOS with Apple Silicon:

(base) gong@polaris julia % make                   
Creating usr/etc/julia/startup.jl
Copying in usr/share/man/man1/julia.1
/Users/gong/GitHub/julia/contrib/install.sh 755 /Users/gong/GitHub/julia/contrib/julia-config.jl /Users/gong/GitHub/julia/usr/share/julia/
    PERL base/pcre_h.jl
    PERL base/uv_constants.jl
    LINK usr/lib/libjulia.1.9.dylib
    LINK usr/lib/libjulia.1.dylib
    LINK usr/lib/libjulia.dylib
    LINK usr/bin/julia
    CC src/jloptions.o
/Users/gong/GitHub/julia/src/jloptions.c:449:37: error: implicit declaration of function 'jl_effective_threads' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                jl_options.nprocs = jl_effective_threads();
                                    ^
1 error generated.
make[1]: *** [jloptions.o] Error 1
make: *** [julia-src-release] Error 2
@clason
Copy link

clason commented Feb 19, 2022

Intel macOS (12.3 beta, clang 13.0.0) as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants