Skip to content

yezhengkai/MINEBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

Build tarball and write MINE_jll package to ~/.julia/dev/

julia --project=. --startup-file=no --color=yes build_tarballs.jl --verbose --debug --deploy=local

Build tarball and deploy MINE_jll package to https://github.com/<yourgithubaccountname>/<name>_jll.jl

julia --project=. --startup-file=no --color=yes build_tarballs.jl --verbose --debug --deploy=<yourgithubaccountname>/<name>_jll.jl

Problems and possible solutions for building tarball on Windows

Path separator for checking if dll openable

Check BinaryBuilderBase/src/Products.jl: L228 We may need to change L228 to this

if success(`$(Base.julia_cmd()) --startup-file=no -e "import Libdl; Libdl.dlopen(\"$(replace(dl_path, "\\" => "/"))\")"`)

Accessability of dll

Check BinaryBuilderBase/src/Prefix.jl: L177. We may need to add this line

Sys.iswindows() && chmod(artifact_path(tree_hash), 0o755; recursive=true)

References

Problems compiling .so files for linux

[ Info: Making D:\side-project\MINEBuilder\build\x86_64-linux-gnu\jQxePDdt\x86_64-linux-gnu-libgfortran3-cxx03\destdir\lib\libmine.so executable
[ Info: Checking lib\libmine.so with RPath list Any[]
[ Info: Ignored system libraries libc.so.6
patchelf: getting info about 'lib\libmine.so': No such file or directory
┌ Warning: Unable to set SONAME on lib\libmine.so
└ @ BinaryBuilder.Auditor C:\Users\kai\.julia\packages\BinaryBuilder\0CUml\src\auditor\soname_matching.jl:83

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages