forked from JuliaPackaging/Yggdrasil
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into eschnett/LaMEM-mpitrampoline
* master: (62 commits) iso_codes v4.10.0 (JuliaPackaging#5226) PTSCOTCH: Require MPItrampoline 5, and build with OpenMPI as well (JuliaPackaging#5180) MAGEMin: Require MPItrampoline 5 (JuliaPackaging#5222) LAMMPS: Require MPItrampoline 5 (JuliaPackaging#5221) CrypoMiniSat: Require MPItrampoline 5 (JuliaPackaging#5219) PETSc: Require MPItrampoline 5 (JuliaPackaging#5223) [SBML] missing functions patch (JuliaPackaging#5224) HYPRE: Require MPItrampoline 5 (JuliaPackaging#5220) openPMD_api: Require MPItrampoline 5 (JuliaPackaging#5218) COSMA: Simplify configuring OpenMPI (JuliaPackaging#5217) AMReX: Require MPItrampoline 5 (JuliaPackaging#5215) Register Elfutils executables. (JuliaPackaging#5214) Wizard recipe: DDSCAT-v7.3.3 (JuliaPackaging#5210) ADIOS2: Require MPItrampoline 5 (JuliaPackaging#5212) Bump compat bounds of Python_jll dependencies. (JuliaPackaging#5211) mpi.jl: Require version 5 of MPItrampoline (JuliaPackaging#5209) [web3go] Add new package (JuliaPackaging#5195) add tls config patch for FLINT 2.9.0 (JuliaPackaging#5207) Upgrade enzyme to refs/tags/v0.0.35 (JuliaPackaging#5200) [PROJ] bump version to 9.0.1 (JuliaPackaging#5208) ...
- Loading branch information
Showing
80 changed files
with
1,465 additions
and
447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Note that this script can accept some limited command-line arguments, run | ||
# `julia build_tarballs.jl --help` to see a usage message. | ||
using BinaryBuilder | ||
|
||
name = "Btop" | ||
version = v"1.2.8" | ||
|
||
# Collection of sources required to complete build | ||
sources = [ | ||
ArchiveSource("https://github.com/aristocratos/btop/archive/refs/tags/v$(version).tar.gz", | ||
"7944b06e3181cc1080064adf1e9eb4f466af0b84a127df6697430736756a89ac"), | ||
] | ||
|
||
# Bash recipe for building across all platforms | ||
script = raw""" | ||
cd $WORKSPACE/srcdir/btop*/ | ||
# Don't do lto, doesn't seem to work on FreeBSD | ||
make -j${nproc} OPTFLAGS="-O2 -ftree-loop-vectorize" | ||
make install PREFIX=${prefix} | ||
""" | ||
|
||
# These are the platforms we will build for by default, unless further | ||
# platforms are passed in on the command line | ||
platforms = expand_cxxstring_abis(supported_platforms(; exclude=Sys.iswindows); skip=Returns(false)) | ||
|
||
# The products that we will ensure are always built | ||
products = [ | ||
ExecutableProduct("btop", :btop) | ||
] | ||
|
||
# Dependencies that must be installed before this package can be built | ||
dependencies = Dependency[ | ||
] | ||
|
||
# Build the tarballs, and possibly a `build.jl` as well. | ||
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; | ||
julia_compat = "1.6", preferred_gcc_version=v"10") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Note that this script can accept some limited command-line arguments, run | ||
# `julia build_tarballs.jl --help` to see a usage message. | ||
using BinaryBuilder, BinaryBuilderBase, Pkg | ||
|
||
name = "CSB" | ||
version = v"1.0.0" | ||
|
||
# Collection of sources required to complete build | ||
sources = [ | ||
GitSource("https://github.com/fcdimitr/CSB.git", "ccab7d424fd7e5bfee4ebdb750dfa219228c7a56") | ||
] | ||
|
||
# Bash recipe for building across all platforms | ||
script = raw""" | ||
cd $WORKSPACE/srcdir/CSB/ | ||
meson --cross-file=${MESON_TARGET_TOOLCHAIN%.*}_gcc.meson build | ||
cd build/ | ||
ninja -j${nproc} | ||
ninja install | ||
""" | ||
|
||
# These are the platforms we will build for by default, unless further | ||
# platforms are passed in on the command line | ||
platforms = filter!(p -> proc_family(p) == "intel" && !Sys.iswindows(p), supported_platforms()) | ||
|
||
|
||
# The products that we will ensure are always built | ||
products = [ | ||
LibraryProduct("libcsb", :libcsb) | ||
] | ||
|
||
# Dependencies that must be installed before this package can be built | ||
dependencies = [ | ||
Dependency(PackageSpec(name="cilkrts_jll", uuid="71772805-00bc-5a29-9044-a26d819b7806")) | ||
] | ||
|
||
# Build the tarballs, and possibly a `build.jl` as well. | ||
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6", preferred_gcc_version = v"7.1.0") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Note that this script can accept some limited command-line arguments, run | ||
# `julia build_tarballs.jl --help` to see a usage message. | ||
using BinaryBuilder, Pkg | ||
|
||
name = "DDSCAT" | ||
version = v"7.3.3" | ||
|
||
# Collection of sources required to complete build | ||
sources = [ | ||
ArchiveSource("http://ddscat.wikidot.com/local--files/downloads/ddscat$(version)_220120.tgz", "06f2673a45fcff20b8ed9f37d5bedeb84604d7a9fb10f627096833163769d1e7") | ||
] | ||
|
||
# Bash recipe for building across all platforms | ||
script = raw""" | ||
cd $WORKSPACE/srcdir/src | ||
make ddscat | ||
mv ddscat "ddscat${exeext}" || true | ||
install -Dvm 755 "ddscat${exeext}" "${bindir}/ddscat${exeext}" | ||
install_license /usr/share/licenses/GPL-3.0+ | ||
""" | ||
|
||
# These are the platforms we will build for by default, unless further | ||
# platforms are passed in on the command line | ||
platforms = expand_gfortran_versions(filter(x->arch(x) != "powerpc64le", supported_platforms())) | ||
|
||
|
||
# The products that we will ensure are always built | ||
products = [ | ||
ExecutableProduct("ddscat", :ddscat) | ||
] | ||
|
||
# Dependencies that must be installed before this package can be built | ||
dependencies = [ | ||
Dependency(PackageSpec(name="CompilerSupportLibraries_jll", uuid="e66e0078-7015-5450-92f7-15fbd957f2ae")), | ||
] | ||
|
||
# Build the tarballs, and possibly a `build.jl` as well. | ||
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/configure b/configure | ||
index 3eceecf41..304b1d5a9 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -687,15 +687,9 @@ if [ "$TLS" = "1" ]; then | ||
echo "__thread int x = 42; int main(int argc, char ** argv) { return x != 42; }" > build/test-tls.c | ||
$CC build/test-tls.c -o ./build/test-tls > /dev/null 2>&1 | ||
if [ $? -eq 0 ]; then | ||
- build/test-tls > /dev/null 2>&1 | ||
- if [ $? -eq 0 ]; then | ||
- printf "%s\n" "yes" | ||
- echo "yes" >> config.log | ||
- CONFIG_TLS="#define FLINT_USES_TLS 1" | ||
- else | ||
- printf "%s\n" "no" | ||
- echo "no" >> config.log | ||
- fi | ||
+ printf "%s\n" "yes" | ||
+ echo "yes" >> config.log | ||
+ CONFIG_TLS="#define FLINT_USES_TLS 1" | ||
rm -f build/test-tls{,.c} | ||
else | ||
rm -f build/test-tls.c |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.