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

[AlphaMolWrapper] add recipe #7436

Merged
merged 18 commits into from
Oct 2, 2023
Merged
Changes from 7 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
4f7dcb3
Including build recipe for AlphaMolWrapper
IvanSpirandelli Sep 27, 2023
a2ce7c0
Updated readme in source repository
IvanSpirandelli Sep 27, 2023
617e5f0
Merge branch 'JuliaPackaging:master' into master
IvanSpirandelli Sep 27, 2023
d52da60
Updated SOurce code to not duplicate numerical constants on windows m…
IvanSpirandelli Sep 27, 2023
0d60b6c
:wq!
IvanSpirandelli Sep 27, 2023
2e8f5f7
changing rad2 to rad2_ in another function call
IvanSpirandelli Sep 27, 2023
588aa38
Updating branch of build recipe
IvanSpirandelli Sep 27, 2023
0e0c019
Update A/AlphaMolWrapper/build_tarballs.jl
IvanSpirandelli Sep 28, 2023
b5768c3
Update A/AlphaMolWrapper/build_tarballs.jl
IvanSpirandelli Sep 28, 2023
4d3eafd
[AlphaMolWrapper] lowering preferred gcc version. specifying needed g…
IvanSpirandelli Sep 28, 2023
cd4dee0
[AlphaMolWrapper] trying GMP_jll v6.2.0
IvanSpirandelli Sep 28, 2023
5d0b929
[AlphaMolWrapper] setting GMP_jll to required v6.2.1
IvanSpirandelli Sep 28, 2023
723db5f
[AlphaMolWrapper] trying to use GMP_jll v6.1.2 for backward compatabi…
IvanSpirandelli Sep 28, 2023
98a2407
[AlphaMolWrapper] setting GMP_jll to v6.2.1 again. Seems necessary.
IvanSpirandelli Sep 28, 2023
4db1a75
[AlphaMolWrapper] Updating preferred gcc version
IvanSpirandelli Sep 29, 2023
68542b4
[AlphaMolWrapper] Increasing gcc version due to error in previous att…
IvanSpirandelli Sep 29, 2023
89ee49b
[AlphaMolWrapper] 9 seems to be the lowest we can go in terms of gcc …
IvanSpirandelli Sep 29, 2023
f70839c
[AlphaMolWrapper] Removing compat for julia 1.6.3, as it would requir…
IvanSpirandelli Sep 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions A/AlphaMolWrapper/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using BinaryBuilder, Pkg

name = "AlphaMolWrapper"
version = v"0.1"
julia_versions = [v"1.7", v"1.8", v"1.9", v"1.10"]

sources = [
GitSource("https://github.com/IvanSpirandelli/AlphaMolWrapper", "4d7e902a7bec19a7cc3df905b7900afb75e8e26a"),
]

script = raw"""
cd ${WORKSPACE}/srcdir/AlphaMolWrapper
cmake \
IvanSpirandelli marked this conversation as resolved.
Show resolved Hide resolved
-DCMAKE_INSTALL_PREFIX=${prefix} \
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} \
-DJulia_PREFIX=${prefix}
VERBOSE=ON cmake --build . --config Release --target install -- -j${nproc}
"""
include("../../L/libjulia/common.jl")
platforms = expand_cxxstring_abis(vcat(libjulia_platforms.(julia_versions)...))

products = [
LibraryProduct("libalphamolwrapper", :libalphamolwrapper),
]

dependencies = [
BuildDependency("libjulia_jll"),
Dependency("libcxxwrap_julia_jll"),
Dependency("GMP_jll"),
IvanSpirandelli marked this conversation as resolved.
Show resolved Hide resolved
]

build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
preferred_gcc_version=v"11", julia_compat="1.7")
IvanSpirandelli marked this conversation as resolved.
Show resolved Hide resolved