# \#build

**URL:** https://discourse.julialang.org/tag/build/114.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Rules\_julia\_depot: Simple Manifest/depo driven Bazel rules for Julia](https://discourse.julialang.org/t/rules-julia-depot-simple-manifest-depo-driven-bazel-rules-for-julia/139449)

<div class="topic-metadata">

**Author:** [@csvance](https://discourse.julialang.org/u/csvance)\
**Replies:** 0\
**Last updated:** [September 13, 2026, 8:14pm UTC](https://discourse.julialang.org/t/rules-julia-depot-simple-manifest-depo-driven-bazel-rules-for-julia/139449 "2026-09-13T20:14:26Z")

</div>

We have been having some problems with our build tooling for several multi language monorepos at work where we mix together Python, Julia, Go, Docker/Podman (OCI) containers, etc. Doing small things like getting a prope…

---

## [Trying to build julia locally after latest macOS Tahoe update: \`lld: error: malformed sdk version\`](https://discourse.julialang.org/t/trying-to-build-julia-locally-after-latest-macos-tahoe-update-lld-error-malformed-sdk-version/134633)

<div class="topic-metadata">

**Author:** [@NHDaly](https://discourse.julialang.org/u/NHDaly)\
**Replies:** 3\
**Last updated:** [December 18, 2025, 7:44pm UTC](https://discourse.julialang.org/t/trying-to-build-julia-locally-after-latest-macos-tahoe-update-lld-error-malformed-sdk-version/134633 "2025-12-18T19:44:52Z")

</div>

Has anyone else seen an error like this? I think it probably started after updating to the latest macOS. Struggling to build julia from source on my mac. It works fine at first, but fails right at the end of precompili…

---

## [Loading a library which depends on another library](https://discourse.julialang.org/t/loading-a-library-which-depends-on-another-library/131922)

<div class="topic-metadata">

**Author:** [@Chrysoberyl](https://discourse.julialang.org/u/Chrysoberyl)\
**Replies:** 2\
**Last updated:** [August 29, 2025, 12:23pm UTC](https://discourse.julialang.org/t/loading-a-library-which-depends-on-another-library/131922 "2025-08-29T12:23:09Z")

</div>

I have a project that is a mixture between Julia and Lean. The Lean part builds a dynamic library at .lake/build/lib/libPlaceholder.{dylib,so}, which in turn depends on the system Lean installation at ~/.elan/toolchains/…

---

## [Installing package doesn't automatically run Pkg.build for dependencies](https://discourse.julialang.org/t/installing-package-doesnt-automatically-run-pkg-build-for-dependencies/126671)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 2\
**Last updated:** [March 7, 2025, 7:47pm UTC](https://discourse.julialang.org/t/installing-package-doesnt-automatically-run-pkg-build-for-dependencies/126671 "2025-03-07T19:47:42Z")

</div>

I’ve encountered a package which depends on another package which contains deps/build.jl. However, the parent package repo doesn’t have build.jl. When I use Pkg to add the parent package repo, the build step for the depe…

---

## [Problem installing prerequisites for building Julia](https://discourse.julialang.org/t/problem-installing-prerequisites-for-building-julia/105128)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 15\
**Last updated:** [December 6, 2024, 12:46pm UTC](https://discourse.julialang.org/t/problem-installing-prerequisites-for-building-julia/105128 "2024-12-06T12:46:39Z")

</div>

The README for the official julia repo links to this set of instructions for building julia. The latter link states that On Debian-based distributions (e.g. Ubuntu), you can easily install them with apt-get: sudo apt-…

---

## [Build failure](https://discourse.julialang.org/t/build-failure/122467)

<div class="topic-metadata">

**Author:** [@chrstphrbrns](https://discourse.julialang.org/u/chrstphrbrns)\
**Replies:** 14\
**Last updated:** [November 12, 2024, 7:25pm UTC](https://discourse.julialang.org/t/build-failure/122467 "2024-11-12T19:25:32Z")

</div>

Since 683da41, I’m no longer able to build Julia from master (on linux or macOS) Compiling the compiler. This may take several minutes ... Base.Compiler ──── 177.213 seconds flparse.jl JULIA usr/lib/julia/sys.ji Abo…

---

## [Build Julia with debug files](https://discourse.julialang.org/t/build-julia-with-debug-files/111131)

<div class="topic-metadata">

**Author:** [@Luc\_W](https://discourse.julialang.org/u/Luc_W)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 12:33pm UTC](https://discourse.julialang.org/t/build-julia-with-debug-files/111131 "2024-03-04T12:33:52Z")

</div>

Is there a way to enable generating debug info with the release build. I know that you can build a debug version in cygwin with “make -j 4 debug” but this will append “-debug” to julia.exe and some dll’s. I tried removin…

---

## [Building Julia on a Raspberry Pi](https://discourse.julialang.org/t/building-julia-on-a-raspberry-pi/110632)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 5\
**Last updated:** [February 26, 2024, 11:33am UTC](https://discourse.julialang.org/t/building-julia-on-a-raspberry-pi/110632 "2024-02-26T11:33:16Z")

</div>

I’m trying to build Julia from source (v1.10.1) on a Raspberry Pi (4 Model B, with OS 64-bit, Lite, Bookworm on it). It’s been a struggle… I’ve installed zram, and that does help with the process, but it does occasionall…

---

## [GLIBCXX\_3.4.26 not available -- PackageCompiler.jl -- should I recompile julia?](https://discourse.julialang.org/t/glibcxx-3-4-26-not-available-packagecompiler-jl-should-i-recompile-julia/109147)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 3:59am UTC](https://discourse.julialang.org/t/glibcxx-3-4-26-not-available-packagecompiler-jl-should-i-recompile-julia/109147 "2024-01-24T03:59:05Z")

</div>

I’m running an Ubuntu 18.04.2 version of Linux on wsl version 1,0. It comes with a GCC 7.5.0-3ubuntu1~18.04. I’ve installed the latest julia prebuilt version 1.10.0. It runs fine. I have a problem, when I use the pac…

---

## [How to disable precompile statements while building Julia?](https://discourse.julialang.org/t/how-to-disable-precompile-statements-while-building-julia/103461)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 2\
**Last updated:** [September 2, 2023, 12:15pm UTC](https://discourse.julialang.org/t/how-to-disable-precompile-statements-while-building-julia/103461 "2023-09-02T12:15:24Z")

</div>

I have added a Make.user with the content $ cat Make.user JULIA\_PRECOMPILE ?= 0 but when I build Julia (using make), I find Collecting and executing precompile statements └ Collect (Basic: ✓ 871, REPL 39/39: ✓ 1862) =\>…

---

## [Building and precompiling a package depending on unregistered packages](https://discourse.julialang.org/t/building-and-precompiling-a-package-depending-on-unregistered-packages/101955)

<div class="topic-metadata">

**Author:** [@Matthew\_Ozon](https://discourse.julialang.org/u/Matthew_Ozon)\
**Replies:** 8\
**Last updated:** [July 23, 2023, 1:35pm UTC](https://discourse.julialang.org/t/building-and-precompiling-a-package-depending-on-unregistered-packages/101955 "2023-07-23T13:35:53Z")

</div>

When testing a local package X, some issues appear while build-ing and precompile-ing. The reason for that is the unregistered packages in the dependency tree. The unregistered packages (Y and Z) are installed locally …

---

## [CSV dependency not building](https://discourse.julialang.org/t/csv-dependency-not-building/95370)

<div class="topic-metadata">

**Author:** [@EffSugna](https://discourse.julialang.org/u/EffSugna)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 9:54am UTC](https://discourse.julialang.org/t/csv-dependency-not-building/95370 "2023-03-01T09:54:34Z")

</div>

Hi all, New to Julia, relatively beginner programmer. Unable to get CSV dependency installed. Have tried as many work arounds as I can find on internet, older solutions to this problem with earlier versions of Julia …

---

## [Checksum error in suitesparse](https://discourse.julialang.org/t/checksum-error-in-suitesparse/92219)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 0\
**Last updated:** [December 28, 2022, 10:04am UTC](https://discourse.julialang.org/t/checksum-error-in-suitesparse/92219 "2022-12-28T10:04:06Z")

</div>

I’m trying to build Julia at commit 7ca1a9047a. It fails with the following error: =============================================================================== ERROR: sha512 checksum failure on SuiteSparse-ec4b40ad…

---

## [How to make warning into error?](https://discourse.julialang.org/t/how-to-make-warning-into-error/5251)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 4\
**Last updated:** [December 1, 2022, 11:56pm UTC](https://discourse.julialang.org/t/how-to-make-warning-into-error/5251 "2022-12-01T23:56:32Z")

</div>

In C++, we can be pedantic and convert all warnings into errors during compilation: shell\> g++ -Werror Is there a similar feature in Julia? This switch could be very useful in Travis CI builds for mature packages. I am…

---

## [Compiling 1.7.3 on Ubuntu 22.04 stalls](https://discourse.julialang.org/t/compiling-1-7-3-on-ubuntu-22-04-stalls/85070)

<div class="topic-metadata">

**Author:** [@unhandyandy](https://discourse.julialang.org/u/unhandyandy)\
**Replies:** 12\
**Last updated:** [August 1, 2022, 2:52pm UTC](https://discourse.julialang.org/t/compiling-1-7-3-on-ubuntu-22-04-stalls/85070 "2022-08-01T14:52:08Z")

</div>

I have pulled the git repo and I’m trying to compile v1.7.3, but the process stalls here: Sysimage built. Summary: Total ─────── 53.120629 seconds Base: ─────── 22.231496 seconds 41.851% Stdlibs: ──── 30.887624 seco…

---

## [Failed to precompile Ipopt](https://discourse.julialang.org/t/failed-to-precompile-ipopt/80758)

<div class="topic-metadata">

**Author:** [@liuwa666](https://discourse.julialang.org/u/liuwa666)\
**Replies:** 14\
**Last updated:** [May 12, 2022, 11:25pm UTC](https://discourse.julialang.org/t/failed-to-precompile-ipopt/80758 "2022-05-12T23:25:39Z")

</div>

One of my project is dependent on PowerDynamics.jl, and PowerDynamics.jl is dependent on Ipopt.jl. Today when I was updating this project, the following situation occurs: pkg\> precompile Precompiling project... ✗ Ipop…

---

## [Attempting to compile J1.4 - error 404 when downloading packages?](https://discourse.julialang.org/t/attempting-to-compile-j1-4-error-404-when-downloading-packages/77918)

<div class="topic-metadata">

**Author:** [@Jon\_Barker](https://discourse.julialang.org/u/Jon_Barker)\
**Replies:** 1\
**Last updated:** [March 15, 2022, 2:58pm UTC](https://discourse.julialang.org/t/attempting-to-compile-j1-4-error-404-when-downloading-packages/77918 "2022-03-15T14:58:33Z")

</div>

I’ve setup cgywin64, with the packages described here: https://github.com/JuliaLang/julia/blob/master/doc/src/devdocs/build/windows.md Done a git clone --branch release-1.4 https://github.com/JuliaLang/julia.git Run ec…

---

## [Can I compile native C programs on Julia CI?](https://discourse.julialang.org/t/can-i-compile-native-c-programs-on-julia-ci/75340)

<div class="topic-metadata">

**Author:** [@melonedo](https://discourse.julialang.org/u/melonedo)\
**Replies:** 2\
**Last updated:** [January 28, 2022, 5:27am UTC](https://discourse.julialang.org/t/can-i-compile-native-c-programs-on-julia-ci/75340 "2022-01-28T05:27:28Z")

</div>

When I am developing Clang.jl, a package which bridges C and Julia, I find it necessary that I test the generated wrapper against C libraries. Apart from testing on existing libraries shipped with jll packages, one way i…

---

## [Automatically build a system image on package installation](https://discourse.julialang.org/t/automatically-build-a-system-image-on-package-installation/45907)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 16\
**Last updated:** [December 15, 2021, 7:22pm UTC](https://discourse.julialang.org/t/automatically-build-a-system-image-on-package-installation/45907 "2021-12-15T19:22:28Z")

</div>

For colleagues used to a workflow centered around running Python scripts from the command line, I was wondering if a similar workflow with Julia could be facilitated by automatically building a system image containing re…

---

## [\_\_atomic errors when embedding into a C++ project using binaries built from latest (1.7) source or using installer (Windows 10 using Visual Studio 2019)](https://discourse.julialang.org/t/atomic-errors-when-embedding-into-a-c-project-using-binaries-built-from-latest-1-7-source-or-using-installer-windows-10-using-visual-studio-2019/67599)

<div class="topic-metadata">

**Author:** [@solaris](https://discourse.julialang.org/u/solaris)\
**Replies:** 2\
**Last updated:** [September 2, 2021, 9:36pm UTC](https://discourse.julialang.org/t/atomic-errors-when-embedding-into-a-c-project-using-binaries-built-from-latest-1-7-source-or-using-installer-windows-10-using-visual-studio-2019/67599 "2021-09-02T21:36:23Z")

</div>

I get a host of compile errors (about 30). Here are the first 5: 1\>C:\\Users\\VitalRoberto\\AppData\\Local\\Programs\\Julia-1.7.0-beta4\\include\\julia\\julia\_threads.h(321,5): error C2065: ‘\_\_ATOMIC\_SEQ\_CST’: undeclared identi…

---

## [Problem building Proj4 package (LoadError: ArgumentError: Will not install a tarball of platform...)](https://discourse.julialang.org/t/problem-building-proj4-package-loaderror-argumenterror-will-not-install-a-tarball-of-platform/67504)

<div class="topic-metadata">

**Author:** [@yodefiar](https://discourse.julialang.org/u/yodefiar)\
**Replies:** 0\
**Last updated:** [September 1, 2021, 2:07pm UTC](https://discourse.julialang.org/t/problem-building-proj4-package-loaderror-argumenterror-will-not-install-a-tarball-of-platform/67504 "2021-09-01T14:07:47Z")

</div>

Hi I’m having problem building Proj4 package, it kept returning the error below (@v1.6) pkg\> build Proj4 Building Proj4 → \`C:\\Users\\Yodefia Rahmad\\.julia\\scratchspaces\\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\\6a52f9d89…

---

## [Calling julia code from matlab](https://discourse.julialang.org/t/calling-julia-code-from-matlab/58598)

<div class="topic-metadata">

**Author:** [@Noodle](https://discourse.julialang.org/u/Noodle)\
**Replies:** 3\
**Last updated:** [July 18, 2021, 6:42am UTC](https://discourse.julialang.org/t/calling-julia-code-from-matlab/58598 "2021-07-18T06:42:36Z")

</div>

Hello everyone I am trying to call Julia codes from MATLAB, as I need to send my Julia code to a MATLAB user. It seems for Julia \>1.0 the solution is GitHub - byuflowlab/Mex.jl: Embedding Julia in the MATLAB process. I…

---

## [Building Julia on windows](https://discourse.julialang.org/t/building-julia-on-windows/61608)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 0\
**Last updated:** [May 21, 2021, 10:07pm UTC](https://discourse.julialang.org/t/building-julia-on-windows/61608 "2021-05-21T22:07:03Z")

</div>

Hi, I am trying to build Julia from source on windows and it stuck for 1 hour now at the following step: mkdir -p bin include/curl lib lib/pkgconfig logs share/aclocal share/licenses/LibCURL share/man/man1 share/man/m…

---

## [Change number of workers in make](https://discourse.julialang.org/t/change-number-of-workers-in-make/59177)

<div class="topic-metadata">

**Author:** [@puerco-errante](https://discourse.julialang.org/u/puerco-errante)\
**Replies:** 3\
**Last updated:** [April 13, 2021, 1:40pm UTC](https://discourse.julialang.org/t/change-number-of-workers-in-make/59177 "2021-04-13T13:40:52Z")

</div>

Hi! I’m sorry if this is a very noob question, but I’m not very experienced with make files and I couldn’t find anything in google to help me out. I want to make test but the makefile launches all 8 workers and it ends…

---

## [Invalid version string during Windows build](https://discourse.julialang.org/t/invalid-version-string-during-windows-build/53474)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 1\
**Last updated:** [January 17, 2021, 7:50am UTC](https://discourse.julialang.org/t/invalid-version-string-during-windows-build/53474 "2021-01-17T07:50:04Z")

</div>

I encountered the following error when trying to build Julia on Windows via Cygwin. $ make -j8 ... JULIA usr/lib/julia/sys.ji ... error during bootstrap: LoadError("sysimg.jl", 3, LoadError("Base.jl", 226, LoadError…

---

## [Error Building Package](https://discourse.julialang.org/t/error-building-package/53369)

<div class="topic-metadata">

**Author:** [@Ian\_Slagle](https://discourse.julialang.org/u/Ian_Slagle)\
**Replies:** 0\
**Last updated:** [January 15, 2021, 12:20am UTC](https://discourse.julialang.org/t/error-building-package/53369 "2021-01-15T00:20:39Z")

</div>

I am trying to install LRSLib.jl (from https://github.com/JuliaPolyhedra/LRSLib.jl) on my Debian machine (I mention because the library is not working with Windows). However, I seem to be running into an issue installin…

---

## [No documentation for the state of patches for dependencies of Julia](https://discourse.julialang.org/t/no-documentation-for-the-state-of-patches-for-dependencies-of-julia/44735)

<div class="topic-metadata">

**Author:** [@doronbehar](https://discourse.julialang.org/u/doronbehar)\
**Replies:** 12\
**Last updated:** [November 1, 2020, 10:00am UTC](https://discourse.julialang.org/t/no-documentation-for-the-state-of-patches-for-dependencies-of-julia/44735 "2020-11-01T10:00:37Z")

</div>

I’m trying to package Julia for my distro (NixOS) in the best possible manner. We’d like to use our own dependencies as much as possible, but I’m having trouble figuring out your policy and your status regarding this. He…

---

## [Building -- and releasing -- a fully self-contained Application written in julia](https://discourse.julialang.org/t/building-and-releasing-a-fully-self-contained-application-written-in-julia/10418)

<div class="topic-metadata">

**Author:** [@NHDaly](https://discourse.julialang.org/u/NHDaly)\
**Replies:** 16\
**Last updated:** [October 5, 2020, 2:13pm UTC](https://discourse.julialang.org/t/building-and-releasing-a-fully-self-contained-application-written-in-julia/10418 "2020-10-05T14:13:20Z")

</div>

\-– This post is a follow-up to my previous post on compiling a binary for distribution: How to compile a portable binary (at least across macs) with \`juliac.jl\`. — More cool news!! You can write software in Julia, and t…

---

## [GLMakie complains about missing OpenGl, which is there](https://discourse.julialang.org/t/glmakie-complains-about-missing-opengl-which-is-there/29582)

<div class="topic-metadata">

**Author:** [@zweiglimmergneis](https://discourse.julialang.org/u/zweiglimmergneis)\
**Replies:** 6\
**Last updated:** [September 11, 2020, 9:20pm UTC](https://discourse.julialang.org/t/glmakie-complains-about-missing-opengl-which-is-there/29582 "2020-09-11T21:20:38Z")

</div>

This might be a OS-problem (fedora 30), but I couldn’t find useful info elsewhere, so I post the problem here. build GLMakie issues an Error: (v1.2) pkg\> build GLMakie Building Conda ───────────→ \`~/.julia/package…

---

## [\`make testall\` noninteractively?](https://discourse.julialang.org/t/make-testall-noninteractively/44447)

<div class="topic-metadata">

**Author:** [@afbarnard](https://discourse.julialang.org/u/afbarnard)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 7:33pm UTC](https://discourse.julialang.org/t/make-testall-noninteractively/44447 "2020-08-06T19:33:52Z")

</div>

Is there a way to run make testall noninteractively? I want to do something along the lines of nice make testall1 &\> make.tests.julia-1.5.0.$(date +'%Y%m%d-%H%M%S').log & but the tests hang. Presumably this has to do w…

[Next page](https://discourse.julialang.org/tag/build/114.md?match_all_tags=true&page=1&tags%5B%5D=build)
