diff --git a/Artifacts.toml b/Artifacts.toml index 6a02245..bf5d54c 100644 --- a/Artifacts.toml +++ b/Artifacts.toml @@ -1,378 +1,113 @@ [[Sundials]] -arch = "x86_64" -git-tree-sha1 = "f43a8a1a450e9ec13a89d7551766365a51570686" -libgfortran_version = "5.0.0" -os = "windows" - - [[Sundials.download]] - sha256 = "99857124e0aa9cb9ab458f00a11d3976a74b50a4872cf2f78e27ddd53cadb8c2" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-w64-mingw32-libgfortran5.tar.gz" -[[Sundials]] -arch = "x86_64" -git-tree-sha1 = "6ccc702b8da4824b3ec0b01e992119f1f48663f7" -libgfortran_version = "4.0.0" -os = "freebsd" - - [[Sundials.download]] - sha256 = "944016ee784666028fb6af598aff45f8e7a67a93d84fa80c1d71a149fd3ff55d" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-unknown-freebsd11.1-libgfortran4.tar.gz" -[[Sundials]] -arch = "x86_64" -git-tree-sha1 = "8068ffdd68c40309429d53361027f4c7ce8ba1ae" -libgfortran_version = "3.0.0" -os = "macos" - - [[Sundials.download]] - sha256 = "78e4bf73087a57861f40f17ee3df0e598fc74f99a6bb0f3b64502be02da5e046" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-apple-darwin14-libgfortran3.tar.gz" -[[Sundials]] arch = "aarch64" -git-tree-sha1 = "676623f5b794dcb4073bfdfd792b6c4a57c05972" -libc = "glibc" -libgfortran_version = "5.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "c4056e8b110b8b063e71517934156abd139f21a3f40453ebca4126b04303ea06" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.aarch64-linux-gnu-libgfortran5.tar.gz" -[[Sundials]] -arch = "x86_64" -git-tree-sha1 = "dad73d58342bcc4df6a626a2fcbdda89e68db978" -libgfortran_version = "4.0.0" -os = "macos" - - [[Sundials.download]] - sha256 = "4dcc32b01d4d9a3db38e04090804f912d1363e783d97803a4c4958067162755a" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-apple-darwin14-libgfortran4.tar.gz" -[[Sundials]] -arch = "x86_64" -git-tree-sha1 = "6d564372cf6b24fe1cd7eb748ad83b0881d2b9be" -libgfortran_version = "5.0.0" -os = "macos" - - [[Sundials.download]] - sha256 = "56a7b5340c314329dbda58ec5d50f119c3a60bf40fabec4e7617824518a78bdc" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-apple-darwin14-libgfortran5.tar.gz" -[[Sundials]] -arch = "armv7l" -git-tree-sha1 = "6eec9bdc779cd9c224fadf4f669daa0534dbceb6" -libc = "musl" -libgfortran_version = "4.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "2dabb0a7b62b54241c93fba7ad22d9e88f3abee72318459de44a9fcbb25f44e3" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.armv7l-linux-musleabihf-libgfortran4.tar.gz" -[[Sundials]] -arch = "x86_64" -git-tree-sha1 = "4edfa076827278c8d59eed66a7241b126bb4c179" -libc = "glibc" -libgfortran_version = "3.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "07a915a6b0def594263b349605bd6964c2670ad526e93a67642fbcefdb55e306" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-linux-gnu-libgfortran3.tar.gz" -[[Sundials]] -arch = "i686" -git-tree-sha1 = "304842aaf06dd9925930550e47d9e5c642869cf7" -libc = "musl" -libgfortran_version = "5.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "2d01132dc6623038441e319097c67af30f7c9b1159cdb41ebb5bd63958fc06df" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.i686-linux-musl-libgfortran5.tar.gz" -[[Sundials]] -arch = "powerpc64le" -git-tree-sha1 = "4fbdc90d6f972843d97a7ce9a7af431b34990a1b" -libc = "glibc" -libgfortran_version = "3.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "b82772ed8deb79062c668eed41de45e54fd9fe730e1198fd4ac66aa239c87223" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.powerpc64le-linux-gnu-libgfortran3.tar.gz" -[[Sundials]] -arch = "armv7l" -git-tree-sha1 = "0f0a22ba23526a71291615ed15250303b7243a68" +git-tree-sha1 = "f4bc37a4672090c93c20b8cd07984eeb3f7d20b6" libc = "musl" -libgfortran_version = "5.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "557655bf663c82199642f65808b0dae980277a5d3c2651f8c516e5c32671faeb" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.armv7l-linux-musleabihf-libgfortran5.tar.gz" -[[Sundials]] -arch = "aarch64" -git-tree-sha1 = "f5de11a10efecae490ff11d397b067325872b0c0" -libc = "glibc" -libgfortran_version = "3.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "5c771e3485c98e2090b1d675123f08519834748396c1a1741341a182db54d036" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.aarch64-linux-gnu-libgfortran3.tar.gz" -[[Sundials]] -arch = "powerpc64le" -git-tree-sha1 = "4faf52646c5db65a5d76a2d96966f3e50b777059" -libc = "glibc" -libgfortran_version = "5.0.0" os = "linux" [[Sundials.download]] - sha256 = "7e3c4eb06b66a41304836055ff3ac535be2d2ae13f895710c5a5a79c57434034" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.powerpc64le-linux-gnu-libgfortran5.tar.gz" + sha256 = "8640999343c725bfa8ee42b5fb230eed0f3ad7a2fe08b2f746a57325f82c3a14" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.aarch64-linux-musl.tar.gz" [[Sundials]] arch = "i686" -git-tree-sha1 = "332c907732086cf83e959f0dc9750d0818a39044" -libgfortran_version = "4.0.0" +git-tree-sha1 = "523c6fbdb5b976a516517bf1108cd5aa96b9d877" os = "windows" [[Sundials.download]] - sha256 = "dcdd83e4d54274b6c284774941432d8b9e4c02b03836bab392dac14eb47f3c82" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.i686-w64-mingw32-libgfortran4.tar.gz" -[[Sundials]] -arch = "armv7l" -git-tree-sha1 = "d62946d05df00d417ccf2549fede133008f4635a" -libc = "musl" -libgfortran_version = "3.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "8450eb7683b18ba64623d684966f20194e73c81550abbca4ab66df15ba241305" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.armv7l-linux-musleabihf-libgfortran3.tar.gz" + sha256 = "872f0d81cb476f3061697e04310a6a491d63679f30815176e00b67a6773d3e58" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.i686-w64-mingw32.tar.gz" [[Sundials]] -arch = "aarch64" -git-tree-sha1 = "5e2eca28b95323519865c801cee66521b3dc435e" +arch = "x86_64" +git-tree-sha1 = "f4afd83b19603a4b29c0f40ff037d290cae9804c" libc = "musl" -libgfortran_version = "3.0.0" os = "linux" [[Sundials.download]] - sha256 = "f44ad613ea86b5644fffdca87c9465f56713c381628d1d9118356187052b54d8" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.aarch64-linux-musl-libgfortran3.tar.gz" + sha256 = "e716e8ec30dea92306e2da5165f0f5f11ee3198789463e34bd24015b1650eec9" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.x86_64-linux-musl.tar.gz" [[Sundials]] -arch = "x86_64" -git-tree-sha1 = "7cdaf9508e09be59e11abef3a0c7f3dc42280ae1" +arch = "i686" +git-tree-sha1 = "167f71904ff806e3836bccd024571e1e31bc126b" libc = "glibc" -libgfortran_version = "5.0.0" os = "linux" [[Sundials.download]] - sha256 = "ce15969a31cd6f62a820905c2cc5e7af1421cf8681c5a216a2f61dd53e9a3a45" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-linux-gnu-libgfortran5.tar.gz" + sha256 = "54e3591a93314ff876aa64bbcd475fa2b6b92dbb2d78f462fe35e334b722ae29" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.i686-linux-gnu.tar.gz" [[Sundials]] arch = "armv7l" -git-tree-sha1 = "4bffa5906bb331074621b2833d6e2e7cb604bd2b" -libc = "glibc" -libgfortran_version = "3.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "59e523f54d4d79ab78261e605cbb3f20c0f4f8c676a8349ba76d186338b05a28" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.armv7l-linux-gnueabihf-libgfortran3.tar.gz" -[[Sundials]] -arch = "i686" -git-tree-sha1 = "5ae195480534d69487686a83c3f2a0cbddbab2ab" -libgfortran_version = "5.0.0" -os = "windows" - - [[Sundials.download]] - sha256 = "53162ef8ec29d501392cb5e441ab59939a0ff141af8e24c059ca52123884d225" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.i686-w64-mingw32-libgfortran5.tar.gz" -[[Sundials]] -arch = "i686" -git-tree-sha1 = "d5aaed703b7aacecdf89ab7af6ffcc1dab694d43" +git-tree-sha1 = "f57be0f7b65ea918b23f087710191dd30ba7eabd" libc = "glibc" -libgfortran_version = "4.0.0" os = "linux" [[Sundials.download]] - sha256 = "7813dfd6ac88306ecc5b76c8cc7ec063d7acf2a134f874bd665cea53715122f4" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.i686-linux-gnu-libgfortran4.tar.gz" -[[Sundials]] -arch = "i686" -git-tree-sha1 = "e0a8d81e1f8a404e4da034678b9766caaa791cd5" -libgfortran_version = "3.0.0" -os = "windows" - - [[Sundials.download]] - sha256 = "34b8c3f06504589536cd2efcd76224b4b568d6497d86876d46a677052dc97ef4" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.i686-w64-mingw32-libgfortran3.tar.gz" -[[Sundials]] -arch = "x86_64" -git-tree-sha1 = "7803b0a406049e67eb704372b0c1477a32ba7907" -libgfortran_version = "4.0.0" -os = "windows" - - [[Sundials.download]] - sha256 = "29d42c21f437f7c4461aef5010681a2d5a4ed1e4dd5ba86f8a9722145639339a" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-w64-mingw32-libgfortran4.tar.gz" -[[Sundials]] -arch = "x86_64" -git-tree-sha1 = "767e38b492ae328984d60367581cad3a872bd500" -libgfortran_version = "5.0.0" -os = "freebsd" - - [[Sundials.download]] - sha256 = "bdf77d8bfc9928608896888d920e24d206d5eb6049f5c07689226c2b6f0451f1" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-unknown-freebsd11.1-libgfortran5.tar.gz" + sha256 = "3549f13abb7e279bcd341c1c10d5ee8c500eaa4ffb5e250c9dce4acc0110f8a7" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.armv7l-linux-gnueabihf.tar.gz" [[Sundials]] arch = "aarch64" -git-tree-sha1 = "a752e98e4aa8016c36b4f17579c05887c5e441b4" +git-tree-sha1 = "36880006f905ed165212a30b464d08bdb1c6daef" libc = "glibc" -libgfortran_version = "4.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "5d1ee955a691909dedc0e04148f71e1b83206aeaa24f542fcd72ee1ce08ad25a" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.aarch64-linux-gnu-libgfortran4.tar.gz" -[[Sundials]] -arch = "x86_64" -git-tree-sha1 = "2a846f56e9961be886a741d7f8f55bdf0b2025f5" -libc = "musl" -libgfortran_version = "5.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "e9ebb94f03874ce20dd2881dd1f6920910890c0c01a3b548bae117244a2c91c5" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-linux-musl-libgfortran5.tar.gz" -[[Sundials]] -arch = "x86_64" -git-tree-sha1 = "8fbc4e7f526df0946e1646c2d2460fab1cf7279a" -libc = "musl" -libgfortran_version = "4.0.0" os = "linux" [[Sundials.download]] - sha256 = "343705ee3c29226e95991829acb001eb4e04a0ff1e216c86915dc2bc370a386a" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-linux-musl-libgfortran4.tar.gz" + sha256 = "1b0abe140ad34763116b28e0fdec8b46611f5161f1886c63cf7ecd3ea8b7a3f5" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.aarch64-linux-gnu.tar.gz" [[Sundials]] arch = "x86_64" -git-tree-sha1 = "8707025c6bcb56554a24d0c8097d0d629ea6def9" -libgfortran_version = "3.0.0" -os = "windows" - - [[Sundials.download]] - sha256 = "0dc6b0a9f3af1954f9043d27af16894266f7a33e4c27fca2302690ceaa0f0f64" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-w64-mingw32-libgfortran3.tar.gz" -[[Sundials]] -arch = "armv7l" -git-tree-sha1 = "3b59080ceb6e2b093d6faaa199b80419627c2a9e" +git-tree-sha1 = "fc02eeb462f983547ce8d43c7518979daadb1910" libc = "glibc" -libgfortran_version = "5.0.0" os = "linux" [[Sundials.download]] - sha256 = "ac5e2e2b5667cbea185cf5df991e576cdc5f25d2e7ff9038c5f12318a1b672c1" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.armv7l-linux-gnueabihf-libgfortran5.tar.gz" + sha256 = "575c86f8ff38f7ec5ad31c62f5bde843fe1bf935a370a080fff94d53390ff38a" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.x86_64-linux-gnu.tar.gz" [[Sundials]] -arch = "x86_64" -git-tree-sha1 = "e66e06e7590cd1eea2c3c50d3c980589e9528877" +arch = "powerpc64le" +git-tree-sha1 = "117d65e694b6017b9a5450db875550ed004e288c" libc = "glibc" -libgfortran_version = "4.0.0" os = "linux" [[Sundials.download]] - sha256 = "f9ed78ae6e82b37f5d3b27221ec9a981a484f0d5fecc7746254e950929de5d76" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-linux-gnu-libgfortran4.tar.gz" + sha256 = "9dc8fd3858316a096a8a8399c8660f4ba2ee20ca77458ad7336a74bf65aa0547" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.powerpc64le-linux-gnu.tar.gz" [[Sundials]] arch = "x86_64" -git-tree-sha1 = "b44932379460705fad1c6cc255f87b761921b3fb" -libc = "musl" -libgfortran_version = "3.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "9e619128f82dab69af94bce8f38c37f7bce923bba5e8734626284de0474f183d" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-linux-musl-libgfortran3.tar.gz" -[[Sundials]] -arch = "aarch64" -git-tree-sha1 = "d9dfd4fe489933e8e1086a4726aa3b0719e5daed" -libc = "musl" -libgfortran_version = "4.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "72fb259584f4fbbe5fef675f4f09890b387241915e3de760413fe5080289a637" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.aarch64-linux-musl-libgfortran4.tar.gz" -[[Sundials]] -arch = "i686" -git-tree-sha1 = "1d8f6cf058f9ee5809c02c70b5399f4d742c04ba" -libc = "glibc" -libgfortran_version = "5.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "aa4ab277af9954f14e498d3e5eb3a22f3614bb4fdfe1b801d489f19a362073da" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.i686-linux-gnu-libgfortran5.tar.gz" -[[Sundials]] -arch = "i686" -git-tree-sha1 = "545c8ed966626d983db63b21e85416e2ba640197" -libc = "glibc" -libgfortran_version = "3.0.0" -os = "linux" +git-tree-sha1 = "bd7cd645828b7f5464477fc50ca723306107fcc4" +os = "macos" [[Sundials.download]] - sha256 = "13e118cd2e5628c51591c691f0f0a36e616b8d46de190a6724ebd109814621d2" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.i686-linux-gnu-libgfortran3.tar.gz" + sha256 = "842765322d8cbfdafecc740e8e46cb07548a4a39d4f7084438bad1b21761b8d1" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.x86_64-apple-darwin14.tar.gz" [[Sundials]] arch = "x86_64" -git-tree-sha1 = "cd094139015e0f21a4b4dfe6d4593f2f79549fc3" -libgfortran_version = "3.0.0" +git-tree-sha1 = "297b7b7dbd126b3688922ed6687ce3c479cb0879" os = "freebsd" [[Sundials.download]] - sha256 = "ec2c5f71b7b403fa985d280b6b359df12fdd70fcf93a87d2b283a686461ed9f3" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.x86_64-unknown-freebsd11.1-libgfortran3.tar.gz" + sha256 = "19699e4f016fc73c0b54df291108dd8324a1873e627ed5dddab0c1af01ab7496" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.x86_64-unknown-freebsd11.1.tar.gz" [[Sundials]] arch = "i686" -git-tree-sha1 = "650b41b7f18fc5928ca988529678d854205b4724" +git-tree-sha1 = "a9fa76486a7808f8a4915961ee205cb7612c2b04" libc = "musl" -libgfortran_version = "3.0.0" os = "linux" [[Sundials.download]] - sha256 = "8fc25fc3f2e9ccb5abb17024d11c32814ad3a39cee085a05c9d96fe2a48f04b9" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.i686-linux-musl-libgfortran3.tar.gz" + sha256 = "a7714417b4abbbf3e107893444aed8313c615d892867153510dcd919a27a4379" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.i686-linux-musl.tar.gz" [[Sundials]] arch = "armv7l" -git-tree-sha1 = "be8b9ac75ddd3fb9138180e56a264895b1660253" -libc = "glibc" -libgfortran_version = "4.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "e791bf5223769a2f360bf228a53d66aa8019b9a3a4175d8d7fe6d8b582345165" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.armv7l-linux-gnueabihf-libgfortran4.tar.gz" -[[Sundials]] -arch = "i686" -git-tree-sha1 = "2aca033feb1cf2d42ae68f064560d55957e35140" -libc = "musl" -libgfortran_version = "4.0.0" -os = "linux" - - [[Sundials.download]] - sha256 = "20a1793d2643c4bc0e82bfd47a0d34505530400f6d761463e7f0d4c2b7667eaa" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.i686-linux-musl-libgfortran4.tar.gz" -[[Sundials]] -arch = "aarch64" -git-tree-sha1 = "089a76fcc28696e515d13c4803f0352f4c7dea51" +git-tree-sha1 = "4a2b731b471edfd8af79e7bb460c51ba70267a2b" libc = "musl" -libgfortran_version = "5.0.0" os = "linux" [[Sundials.download]] - sha256 = "132a44e8c9d9b81e4ccc3ae88267c10f887125842d58dea14f0faffe4468575d" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.aarch64-linux-musl-libgfortran5.tar.gz" + sha256 = "a60759bc9087accc76a82620058e5cd479928ff2297cea06f0b897275efb3513" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.armv7l-linux-musleabihf.tar.gz" [[Sundials]] -arch = "powerpc64le" -git-tree-sha1 = "9ca97a34d72681c87f6d7c9f66c67dc422b71d96" -libc = "glibc" -libgfortran_version = "4.0.0" -os = "linux" +arch = "x86_64" +git-tree-sha1 = "f9b9a2eae8bd22801ece8177a1621bd53851b30a" +os = "windows" [[Sundials.download]] - sha256 = "7358c1b2323294669c6c7b040cc4f8b6191c3b49cc29bf321285686a27d4bddb" - url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v5.1.0+0/Sundials.v5.1.0.powerpc64le-linux-gnu-libgfortran4.tar.gz" + sha256 = "044e1c4c85fe0c832886d84f0afccce7cde4e9a931c70809f9c45aa19296c2ec" + url = "https://github.com/JuliaBinaryWrappers/Sundials_jll.jl/releases/download/Sundials-v3.1.2+0/Sundials.v3.1.2.x86_64-w64-mingw32.tar.gz" diff --git a/Project.toml b/Project.toml index 5d75dee..6014672 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Sundials_jll" uuid = "fb77eaff-e24c-56d4-86b1-d163f2edb164" -version = "5.1.0+0" +version = "3.1.2+0" [deps] Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" diff --git a/README.md b/README.md index 74f7992..34afa39 100644 --- a/README.md +++ b/README.md @@ -8,29 +8,24 @@ The code bindings within this package are autogenerated from the following `Prod ```julia products = [ + LibraryProduct(["libsundials_kinsol"], :libsundials_kinsol), + LibraryProduct(["libsundials_sunlinsolspfgmr"], :libsundials_sunlinsolspfgmr), + LibraryProduct(["libsundials_idas"], :libsundials_idas), + LibraryProduct(["libsundials_sunlinsolband"], :libsundials_sunlinsolband), LibraryProduct(["libsundials_sunlinsoldense"], :libsundials_sunlinsoldense), - LibraryProduct(["libsundials_sunlinsollapackband"], :libsundials_sunlinsollapackband), - LibraryProduct(["libsundials_ida"], :libsundials_ida), + LibraryProduct(["libsundials_sunlinsolspgmr"], :libsundials_sunlinsolspgmr), LibraryProduct(["libsundials_sunmatrixdense"], :libsundials_sunmatrixdense), + LibraryProduct(["libsundials_cvode"], :libsundials_cvode), + LibraryProduct(["libsundials_sunmatrixband"], :libsundials_sunmatrixband), + LibraryProduct(["libsundials_sunlinsolklu"], :libsundials_sunlinsolklu), LibraryProduct(["libsundials_sunlinsolsptfqmr"], :libsundials_sunlinsolsptfqmr), - LibraryProduct(["libsundials_idas"], :libsundials_idas), + LibraryProduct(["libsundials_sunlinsolpcg"], :libsundials_sunlinsolpcg), + LibraryProduct(["libsundials_sunmatrixsparse"], :libsundials_sunmatrixsparse), LibraryProduct(["libsundials_cvodes"], :libsundials_cvodes), - LibraryProduct(["libsundials_sunlinsolband"], :libsundials_sunlinsolband), + LibraryProduct(["libsundials_ida"], :libsundials_ida), LibraryProduct(["libsundials_arkode"], :libsundials_arkode), - LibraryProduct(["libsundials_sunlinsolspfgmr"], :libsundials_sunlinsolspfgmr), - LibraryProduct(["libsundials_sunnonlinsolfixedpoint"], :libsundials_sunnonlinsolfixedpoint), - LibraryProduct(["libsundials_kinsol"], :libsundials_kinsol), LibraryProduct(["libsundials_nvecserial"], :libsundials_nvecserial), - LibraryProduct(["libsundials_sunlinsollapackdense"], :libsundials_sunlinsollapackdense), - LibraryProduct(["libsundials_sunmatrixband"], :libsundials_sunmatrixband), - LibraryProduct(["libsundials_cvode"], :libsundials_cvode), - LibraryProduct(["libsundials_nvecmanyvector"], :libsundials_nvecmanyvector), - LibraryProduct(["libsundials_sunmatrixsparse"], :libsundials_sunmatrixsparse), - LibraryProduct(["libsundials_sunnonlinsolnewton"], :libsundials_sunnonlinsolnewton), - LibraryProduct(["libsundials_sunlinsolspgmr"], :libsundials_sunlinsolspgmr), - LibraryProduct(["libsundials_sunlinsolspbcgs"], :libsundials_sunlinsolspbcgs), - LibraryProduct(["libsundials_sunlinsolklu"], :libsundials_sunlinsolklu), - LibraryProduct(["libsundials_sunlinsolpcg"], :libsundials_sunlinsolpcg) + LibraryProduct(["libsundials_sunlinsolspbcgs"], :libsundials_sunlinsolspbcgs) ] ``` diff --git a/src/Sundials_jll.jl b/src/Sundials_jll.jl index aea9e47..964c487 100644 --- a/src/Sundials_jll.jl +++ b/src/Sundials_jll.jl @@ -34,7 +34,7 @@ artifacts = Pkg.Artifacts.load_artifacts_toml(artifacts_toml; pkg_uuid=UUID("fb7 platforms = [Pkg.Artifacts.unpack_platform(e, "Sundials", artifacts_toml) for e in artifacts["Sundials"]] # Filter platforms based on what wrappers we've generated on-disk -platforms = filter(p -> isfile(joinpath(@__DIR__, "wrappers", triplet(p) * ".jl")), platforms) +filter!(p -> isfile(joinpath(@__DIR__, "wrappers", replace(triplet(p), "arm-" => "armv7l-") * ".jl")), platforms) # From the available options, choose the best platform best_platform = select_platform(Dict(p => triplet(p) for p in platforms)) diff --git a/src/wrappers/aarch64-linux-gnu-libgfortran5.jl b/src/wrappers/aarch64-linux-gnu-libgfortran5.jl deleted file mode 100644 index 787cfde..0000000 --- a/src/wrappers/aarch64-linux-gnu-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for aarch64-linux-gnu-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/aarch64-linux-gnu-libgfortran3.jl b/src/wrappers/aarch64-linux-gnu.jl similarity index 73% rename from src/wrappers/aarch64-linux-gnu-libgfortran3.jl rename to src/wrappers/aarch64-linux-gnu.jl index 58b2b4a..138d2e5 100644 --- a/src/wrappers/aarch64-linux-gnu-libgfortran3.jl +++ b/src/wrappers/aarch64-linux-gnu.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for aarch64-linux-gnu-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for aarch64-linux-gnu +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/aarch64-linux-musl-libgfortran3.jl b/src/wrappers/aarch64-linux-musl-libgfortran3.jl deleted file mode 100644 index e557bb4..0000000 --- a/src/wrappers/aarch64-linux-musl-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for aarch64-linux-musl-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/aarch64-linux-musl-libgfortran4.jl b/src/wrappers/aarch64-linux-musl-libgfortran4.jl deleted file mode 100644 index 61d0656..0000000 --- a/src/wrappers/aarch64-linux-musl-libgfortran4.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for aarch64-linux-musl-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/aarch64-linux-musl-libgfortran5.jl b/src/wrappers/aarch64-linux-musl-libgfortran5.jl deleted file mode 100644 index 39fdba2..0000000 --- a/src/wrappers/aarch64-linux-musl-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for aarch64-linux-musl-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/aarch64-linux-gnu-libgfortran4.jl b/src/wrappers/aarch64-linux-musl.jl similarity index 73% rename from src/wrappers/aarch64-linux-gnu-libgfortran4.jl rename to src/wrappers/aarch64-linux-musl.jl index 0a7670f..4c2cd29 100644 --- a/src/wrappers/aarch64-linux-gnu-libgfortran4.jl +++ b/src/wrappers/aarch64-linux-musl.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for aarch64-linux-gnu-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for aarch64-linux-musl +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/armv7l-linux-gnueabihf-libgfortran3.jl b/src/wrappers/armv7l-linux-gnueabihf-libgfortran3.jl deleted file mode 100644 index 633ded2..0000000 --- a/src/wrappers/armv7l-linux-gnueabihf-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for armv7l-linux-gnueabihf-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/armv7l-linux-gnueabihf-libgfortran4.jl b/src/wrappers/armv7l-linux-gnueabihf.jl similarity index 73% rename from src/wrappers/armv7l-linux-gnueabihf-libgfortran4.jl rename to src/wrappers/armv7l-linux-gnueabihf.jl index e2d39b8..81ba320 100644 --- a/src/wrappers/armv7l-linux-gnueabihf-libgfortran4.jl +++ b/src/wrappers/armv7l-linux-gnueabihf.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for armv7l-linux-gnueabihf-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for armv7l-linux-gnueabihf +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/armv7l-linux-musleabihf-libgfortran3.jl b/src/wrappers/armv7l-linux-musleabihf-libgfortran3.jl deleted file mode 100644 index e1c8ae6..0000000 --- a/src/wrappers/armv7l-linux-musleabihf-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for armv7l-linux-musleabihf-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/armv7l-linux-musleabihf-libgfortran4.jl b/src/wrappers/armv7l-linux-musleabihf-libgfortran4.jl deleted file mode 100644 index 07bc210..0000000 --- a/src/wrappers/armv7l-linux-musleabihf-libgfortran4.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for armv7l-linux-musleabihf-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/armv7l-linux-musleabihf-libgfortran5.jl b/src/wrappers/armv7l-linux-musleabihf-libgfortran5.jl deleted file mode 100644 index 2762017..0000000 --- a/src/wrappers/armv7l-linux-musleabihf-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for armv7l-linux-musleabihf-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/armv7l-linux-gnueabihf-libgfortran5.jl b/src/wrappers/armv7l-linux-musleabihf.jl similarity index 73% rename from src/wrappers/armv7l-linux-gnueabihf-libgfortran5.jl rename to src/wrappers/armv7l-linux-musleabihf.jl index ded32e5..74dcf84 100644 --- a/src/wrappers/armv7l-linux-gnueabihf-libgfortran5.jl +++ b/src/wrappers/armv7l-linux-musleabihf.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for armv7l-linux-gnueabihf-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for armv7l-linux-musleabihf +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/i686-linux-gnu-libgfortran3.jl b/src/wrappers/i686-linux-gnu-libgfortran3.jl deleted file mode 100644 index 248919a..0000000 --- a/src/wrappers/i686-linux-gnu-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for i686-linux-gnu-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/i686-linux-gnu-libgfortran5.jl b/src/wrappers/i686-linux-gnu-libgfortran5.jl deleted file mode 100644 index 55e4a89..0000000 --- a/src/wrappers/i686-linux-gnu-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for i686-linux-gnu-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/i686-linux-gnu-libgfortran4.jl b/src/wrappers/i686-linux-gnu.jl similarity index 73% rename from src/wrappers/i686-linux-gnu-libgfortran4.jl rename to src/wrappers/i686-linux-gnu.jl index 997142b..7a47326 100644 --- a/src/wrappers/i686-linux-gnu-libgfortran4.jl +++ b/src/wrappers/i686-linux-gnu.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for i686-linux-gnu-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for i686-linux-gnu +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/i686-linux-musl-libgfortran3.jl b/src/wrappers/i686-linux-musl-libgfortran3.jl deleted file mode 100644 index c3de0ff..0000000 --- a/src/wrappers/i686-linux-musl-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for i686-linux-musl-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/i686-linux-musl-libgfortran5.jl b/src/wrappers/i686-linux-musl-libgfortran5.jl deleted file mode 100644 index 301aef1..0000000 --- a/src/wrappers/i686-linux-musl-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for i686-linux-musl-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/i686-linux-musl-libgfortran4.jl b/src/wrappers/i686-linux-musl.jl similarity index 73% rename from src/wrappers/i686-linux-musl-libgfortran4.jl rename to src/wrappers/i686-linux-musl.jl index 727d5e1..2b06e2c 100644 --- a/src/wrappers/i686-linux-musl-libgfortran4.jl +++ b/src/wrappers/i686-linux-musl.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for i686-linux-musl-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for i686-linux-musl +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/i686-w64-mingw32-libgfortran3.jl b/src/wrappers/i686-w64-mingw32-libgfortran3.jl deleted file mode 100644 index 6a87c51..0000000 --- a/src/wrappers/i686-w64-mingw32-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for i686-w64-mingw32-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["bin", "libsundials_sunlinsoldense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.dll" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["bin", "libsundials_sunlinsollapackband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.dll" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["bin", "libsundials_ida.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.dll" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["bin", "libsundials_sunmatrixdense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.dll" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["bin", "libsundials_sunlinsolsptfqmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.dll" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["bin", "libsundials_idas.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.dll" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["bin", "libsundials_cvodes.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.dll" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["bin", "libsundials_sunlinsolband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.dll" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["bin", "libsundials_arkode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.dll" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["bin", "libsundials_sunlinsolspfgmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.dll" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["bin", "libsundials_sunnonlinsolfixedpoint.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.dll" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["bin", "libsundials_kinsol.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.dll" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["bin", "libsundials_nvecserial.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.dll" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["bin", "libsundials_sunlinsollapackdense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.dll" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["bin", "libsundials_sunmatrixband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.dll" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["bin", "libsundials_cvode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.dll" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["bin", "libsundials_nvecmanyvector.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.dll" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["bin", "libsundials_sunmatrixsparse.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.dll" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["bin", "libsundials_sunnonlinsolnewton.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.dll" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["bin", "libsundials_sunlinsolspgmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.dll" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["bin", "libsundials_sunlinsolspbcgs.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.dll" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["bin", "libsundials_sunlinsolklu.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.dll" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["bin", "libsundials_sunlinsolpcg.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.dll" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [Sys.BINDIR, joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ';') - global LIBPATH = join(LIBPATH_list, ';') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/i686-w64-mingw32-libgfortran5.jl b/src/wrappers/i686-w64-mingw32-libgfortran5.jl deleted file mode 100644 index 85aee69..0000000 --- a/src/wrappers/i686-w64-mingw32-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for i686-w64-mingw32-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["bin", "libsundials_sunlinsoldense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.dll" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["bin", "libsundials_sunlinsollapackband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.dll" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["bin", "libsundials_ida.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.dll" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["bin", "libsundials_sunmatrixdense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.dll" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["bin", "libsundials_sunlinsolsptfqmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.dll" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["bin", "libsundials_idas.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.dll" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["bin", "libsundials_cvodes.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.dll" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["bin", "libsundials_sunlinsolband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.dll" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["bin", "libsundials_arkode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.dll" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["bin", "libsundials_sunlinsolspfgmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.dll" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["bin", "libsundials_sunnonlinsolfixedpoint.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.dll" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["bin", "libsundials_kinsol.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.dll" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["bin", "libsundials_nvecserial.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.dll" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["bin", "libsundials_sunlinsollapackdense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.dll" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["bin", "libsundials_sunmatrixband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.dll" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["bin", "libsundials_cvode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.dll" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["bin", "libsundials_nvecmanyvector.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.dll" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["bin", "libsundials_sunmatrixsparse.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.dll" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["bin", "libsundials_sunnonlinsolnewton.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.dll" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["bin", "libsundials_sunlinsolspgmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.dll" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["bin", "libsundials_sunlinsolspbcgs.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.dll" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["bin", "libsundials_sunlinsolklu.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.dll" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["bin", "libsundials_sunlinsolpcg.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.dll" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [Sys.BINDIR, joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ';') - global LIBPATH = join(LIBPATH_list, ';') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/i686-w64-mingw32-libgfortran4.jl b/src/wrappers/i686-w64-mingw32.jl similarity index 75% rename from src/wrappers/i686-w64-mingw32-libgfortran4.jl rename to src/wrappers/i686-w64-mingw32.jl index fd1627f..4a4157e 100644 --- a/src/wrappers/i686-w64-mingw32-libgfortran4.jl +++ b/src/wrappers/i686-w64-mingw32.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for i686-w64-mingw32-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for i686-w64-mingw32 +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["bin", "libsundials_sunlinsoldense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.dll" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["bin", "libsundials_sunlinsollapackband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.dll" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["bin", "libsundials_ida.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.dll" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["bin", "libsundials_sunmatrixdense.dll"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["bin", "libsundials_kinsol.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.dll" +const libsundials_kinsol = "libsundials_kinsol.dll" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["bin", "libsundials_sunlinsolsptfqmr.dll"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["bin", "libsundials_sunlinsolspfgmr.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.dll" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.dll" # Relative path to `libsundials_idas` @@ -92,20 +50,6 @@ libsundials_idas_handle = C_NULL const libsundials_idas = "libsundials_idas.dll" -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["bin", "libsundials_cvodes.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.dll" - - # Relative path to `libsundials_sunlinsolband` const libsundials_sunlinsolband_splitpath = ["bin", "libsundials_sunlinsolband.dll"] @@ -120,130 +64,116 @@ libsundials_sunlinsolband_handle = C_NULL const libsundials_sunlinsolband = "libsundials_sunlinsolband.dll" -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["bin", "libsundials_arkode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.dll" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["bin", "libsundials_sunlinsolspfgmr.dll"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["bin", "libsundials_sunlinsoldense.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.dll" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.dll" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["bin", "libsundials_sunnonlinsolfixedpoint.dll"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["bin", "libsundials_sunlinsolspgmr.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.dll" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.dll" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["bin", "libsundials_kinsol.dll"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["bin", "libsundials_sunmatrixdense.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.dll" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.dll" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["bin", "libsundials_nvecserial.dll"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["bin", "libsundials_cvode.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.dll" +const libsundials_cvode = "libsundials_cvode.dll" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["bin", "libsundials_sunlinsollapackdense.dll"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["bin", "libsundials_sunmatrixband.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.dll" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.dll" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["bin", "libsundials_sunmatrixband.dll"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["bin", "libsundials_sunlinsolklu.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.dll" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.dll" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["bin", "libsundials_cvode.dll"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["bin", "libsundials_sunlinsolsptfqmr.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.dll" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.dll" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["bin", "libsundials_nvecmanyvector.dll"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["bin", "libsundials_sunlinsolpcg.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.dll" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.dll" # Relative path to `libsundials_sunmatrixsparse` @@ -260,74 +190,74 @@ libsundials_sunmatrixsparse_handle = C_NULL const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.dll" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["bin", "libsundials_sunnonlinsolnewton.dll"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["bin", "libsundials_cvodes.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.dll" +const libsundials_cvodes = "libsundials_cvodes.dll" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["bin", "libsundials_sunlinsolspgmr.dll"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["bin", "libsundials_ida.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.dll" +const libsundials_ida = "libsundials_ida.dll" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["bin", "libsundials_sunlinsolspbcgs.dll"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["bin", "libsundials_arkode.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.dll" +const libsundials_arkode = "libsundials_arkode.dll" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["bin", "libsundials_sunlinsolklu.dll"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["bin", "libsundials_nvecserial.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.dll" +const libsundials_nvecserial = "libsundials_nvecserial.dll" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["bin", "libsundials_sunlinsolpcg.dll"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["bin", "libsundials_sunlinsolspbcgs.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.dll" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.dll" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/powerpc64le-linux-gnu-libgfortran3.jl b/src/wrappers/powerpc64le-linux-gnu-libgfortran3.jl deleted file mode 100644 index 38655bb..0000000 --- a/src/wrappers/powerpc64le-linux-gnu-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for powerpc64le-linux-gnu-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/powerpc64le-linux-gnu-libgfortran5.jl b/src/wrappers/powerpc64le-linux-gnu-libgfortran5.jl deleted file mode 100644 index f220913..0000000 --- a/src/wrappers/powerpc64le-linux-gnu-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for powerpc64le-linux-gnu-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/powerpc64le-linux-gnu-libgfortran4.jl b/src/wrappers/powerpc64le-linux-gnu.jl similarity index 73% rename from src/wrappers/powerpc64le-linux-gnu-libgfortran4.jl rename to src/wrappers/powerpc64le-linux-gnu.jl index 09cdb9b..e4770ec 100644 --- a/src/wrappers/powerpc64le-linux-gnu-libgfortran4.jl +++ b/src/wrappers/powerpc64le-linux-gnu.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for powerpc64le-linux-gnu-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for powerpc64le-linux-gnu +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/x86_64-apple-darwin14-libgfortran3.jl b/src/wrappers/x86_64-apple-darwin14-libgfortran3.jl deleted file mode 100644 index 3865a64..0000000 --- a/src/wrappers/x86_64-apple-darwin14-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-apple-darwin14-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "DYLD_FALLBACK_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "@rpath/libsundials_sunlinsoldense.3.dylib" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "@rpath/libsundials_sunlinsollapackband.3.dylib" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "@rpath/libsundials_ida.5.dylib" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "@rpath/libsundials_sunmatrixdense.3.dylib" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "@rpath/libsundials_sunlinsolsptfqmr.3.dylib" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.4.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "@rpath/libsundials_idas.4.dylib" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "@rpath/libsundials_cvodes.5.dylib" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "@rpath/libsundials_sunlinsolband.3.dylib" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.4.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "@rpath/libsundials_arkode.4.dylib" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "@rpath/libsundials_sunlinsolspfgmr.3.dylib" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.2.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "@rpath/libsundials_sunnonlinsolfixedpoint.2.dylib" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "@rpath/libsundials_kinsol.5.dylib" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "@rpath/libsundials_nvecserial.5.dylib" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "@rpath/libsundials_sunlinsollapackdense.3.dylib" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "@rpath/libsundials_sunmatrixband.3.dylib" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "@rpath/libsundials_cvode.5.dylib" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "@rpath/libsundials_nvecmanyvector.5.dylib" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "@rpath/libsundials_sunmatrixsparse.3.dylib" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.2.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "@rpath/libsundials_sunnonlinsolnewton.2.dylib" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "@rpath/libsundials_sunlinsolspgmr.3.dylib" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "@rpath/libsundials_sunlinsolspbcgs.3.dylib" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "@rpath/libsundials_sunlinsolklu.3.dylib" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "@rpath/libsundials_sunlinsolpcg.3.dylib" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-apple-darwin14-libgfortran5.jl b/src/wrappers/x86_64-apple-darwin14-libgfortran5.jl deleted file mode 100644 index 370cf06..0000000 --- a/src/wrappers/x86_64-apple-darwin14-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-apple-darwin14-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "DYLD_FALLBACK_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "@rpath/libsundials_sunlinsoldense.3.dylib" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "@rpath/libsundials_sunlinsollapackband.3.dylib" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "@rpath/libsundials_ida.5.dylib" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "@rpath/libsundials_sunmatrixdense.3.dylib" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "@rpath/libsundials_sunlinsolsptfqmr.3.dylib" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.4.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "@rpath/libsundials_idas.4.dylib" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "@rpath/libsundials_cvodes.5.dylib" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "@rpath/libsundials_sunlinsolband.3.dylib" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.4.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "@rpath/libsundials_arkode.4.dylib" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "@rpath/libsundials_sunlinsolspfgmr.3.dylib" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.2.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "@rpath/libsundials_sunnonlinsolfixedpoint.2.dylib" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "@rpath/libsundials_kinsol.5.dylib" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "@rpath/libsundials_nvecserial.5.dylib" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "@rpath/libsundials_sunlinsollapackdense.3.dylib" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "@rpath/libsundials_sunmatrixband.3.dylib" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "@rpath/libsundials_cvode.5.dylib" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "@rpath/libsundials_nvecmanyvector.5.dylib" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "@rpath/libsundials_sunmatrixsparse.3.dylib" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.2.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "@rpath/libsundials_sunnonlinsolnewton.2.dylib" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "@rpath/libsundials_sunlinsolspgmr.3.dylib" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "@rpath/libsundials_sunlinsolspbcgs.3.dylib" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "@rpath/libsundials_sunlinsolklu.3.dylib" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "@rpath/libsundials_sunlinsolpcg.3.dylib" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-apple-darwin14-libgfortran4.jl b/src/wrappers/x86_64-apple-darwin14.jl similarity index 70% rename from src/wrappers/x86_64-apple-darwin14-libgfortran4.jl rename to src/wrappers/x86_64-apple-darwin14.jl index 98d837a..0a50242 100644 --- a/src/wrappers/x86_64-apple-darwin14-libgfortran4.jl +++ b/src/wrappers/x86_64-apple-darwin14.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-apple-darwin14-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for x86_64-apple-darwin14 +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,78 +8,36 @@ PATH = "" LIBPATH = "" LIBPATH_env = "DYLD_FALLBACK_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "@rpath/libsundials_sunlinsoldense.3.dylib" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.3.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "@rpath/libsundials_sunlinsollapackband.3.dylib" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "@rpath/libsundials_ida.5.dylib" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.3.1.0.dylib"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.3.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "@rpath/libsundials_sunmatrixdense.3.dylib" +const libsundials_kinsol = "@rpath/libsundials_kinsol.3.dylib" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.3.1.0.dylib"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "@rpath/libsundials_sunlinsolsptfqmr.3.dylib" +const libsundials_sunlinsolspfgmr = "@rpath/libsundials_sunlinsolspfgmr.1.dylib" # Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.4.1.0.dylib"] +const libsundials_idas_splitpath = ["lib", "libsundials_idas.2.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime libsundials_idas_path = "" @@ -89,25 +47,11 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "@rpath/libsundials_idas.4.dylib" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.5.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "@rpath/libsundials_cvodes.5.dylib" +const libsundials_idas = "@rpath/libsundials_idas.2.dylib" # Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.3.1.0.dylib"] +const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime libsundials_sunlinsolband_path = "" @@ -117,137 +61,123 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "@rpath/libsundials_sunlinsolband.3.dylib" +const libsundials_sunlinsolband = "@rpath/libsundials_sunlinsolband.1.dylib" -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.4.1.0.dylib"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "@rpath/libsundials_arkode.4.dylib" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.3.1.0.dylib"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "@rpath/libsundials_sunlinsolspfgmr.3.dylib" +const libsundials_sunlinsoldense = "@rpath/libsundials_sunlinsoldense.1.dylib" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.2.1.0.dylib"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "@rpath/libsundials_sunnonlinsolfixedpoint.2.dylib" +const libsundials_sunlinsolspgmr = "@rpath/libsundials_sunlinsolspgmr.1.dylib" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.5.1.0.dylib"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "@rpath/libsundials_kinsol.5.dylib" +const libsundials_sunmatrixdense = "@rpath/libsundials_sunmatrixdense.1.dylib" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.5.1.0.dylib"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.3.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "@rpath/libsundials_nvecserial.5.dylib" +const libsundials_cvode = "@rpath/libsundials_cvode.3.dylib" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.3.1.0.dylib"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "@rpath/libsundials_sunlinsollapackdense.3.dylib" +const libsundials_sunmatrixband = "@rpath/libsundials_sunmatrixband.1.dylib" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.3.1.0.dylib"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "@rpath/libsundials_sunmatrixband.3.dylib" +const libsundials_sunlinsolklu = "@rpath/libsundials_sunlinsolklu.1.dylib" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.5.1.0.dylib"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "@rpath/libsundials_cvode.5.dylib" +const libsundials_sunlinsolsptfqmr = "@rpath/libsundials_sunlinsolsptfqmr.1.dylib" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.5.1.0.dylib"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "@rpath/libsundials_nvecmanyvector.5.dylib" +const libsundials_sunlinsolpcg = "@rpath/libsundials_sunlinsolpcg.1.dylib" # Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.3.1.0.dylib"] +const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime libsundials_sunmatrixsparse_path = "" @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "@rpath/libsundials_sunmatrixsparse.3.dylib" +const libsundials_sunmatrixsparse = "@rpath/libsundials_sunmatrixsparse.1.dylib" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.2.1.0.dylib"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.3.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "@rpath/libsundials_sunnonlinsolnewton.2.dylib" +const libsundials_cvodes = "@rpath/libsundials_cvodes.3.dylib" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.3.1.0.dylib"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.3.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "@rpath/libsundials_sunlinsolspgmr.3.dylib" +const libsundials_ida = "@rpath/libsundials_ida.3.dylib" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.3.1.0.dylib"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.2.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "@rpath/libsundials_sunlinsolspbcgs.3.dylib" +const libsundials_arkode = "@rpath/libsundials_arkode.2.dylib" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.3.1.0.dylib"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.3.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "@rpath/libsundials_sunlinsolklu.3.dylib" +const libsundials_nvecserial = "@rpath/libsundials_nvecserial.3.dylib" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.3.1.0.dylib"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.1.1.2.dylib"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "@rpath/libsundials_sunlinsolpcg.3.dylib" +const libsundials_sunlinsolspbcgs = "@rpath/libsundials_sunlinsolspbcgs.1.dylib" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/x86_64-linux-gnu-libgfortran3.jl b/src/wrappers/x86_64-linux-gnu-libgfortran3.jl deleted file mode 100644 index 10735d5..0000000 --- a/src/wrappers/x86_64-linux-gnu-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-linux-gnu-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-linux-gnu-libgfortran4.jl b/src/wrappers/x86_64-linux-gnu.jl similarity index 73% rename from src/wrappers/x86_64-linux-gnu-libgfortran4.jl rename to src/wrappers/x86_64-linux-gnu.jl index f0af90d..3513df6 100644 --- a/src/wrappers/x86_64-linux-gnu-libgfortran4.jl +++ b/src/wrappers/x86_64-linux-gnu.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-linux-gnu-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for x86_64-linux-gnu +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/x86_64-linux-musl-libgfortran3.jl b/src/wrappers/x86_64-linux-musl-libgfortran3.jl deleted file mode 100644 index 031230a..0000000 --- a/src/wrappers/x86_64-linux-musl-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-linux-musl-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-linux-musl-libgfortran4.jl b/src/wrappers/x86_64-linux-musl-libgfortran4.jl deleted file mode 100644 index 4363ba2..0000000 --- a/src/wrappers/x86_64-linux-musl-libgfortran4.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-linux-musl-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-linux-musl-libgfortran5.jl b/src/wrappers/x86_64-linux-musl-libgfortran5.jl deleted file mode 100644 index d234b1b..0000000 --- a/src/wrappers/x86_64-linux-musl-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-linux-musl-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-linux-gnu-libgfortran5.jl b/src/wrappers/x86_64-linux-musl.jl similarity index 73% rename from src/wrappers/x86_64-linux-gnu-libgfortran5.jl rename to src/wrappers/x86_64-linux-musl.jl index 18532c4..300e42a 100644 --- a/src/wrappers/x86_64-linux-gnu-libgfortran5.jl +++ b/src/wrappers/x86_64-linux-musl.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-linux-gnu-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for x86_64-linux-musl +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/x86_64-unknown-freebsd11.1-libgfortran3.jl b/src/wrappers/x86_64-unknown-freebsd11.1-libgfortran3.jl deleted file mode 100644 index 71fb26e..0000000 --- a/src/wrappers/x86_64-unknown-freebsd11.1-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-unknown-freebsd11.1-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-unknown-freebsd11.1-libgfortran5.jl b/src/wrappers/x86_64-unknown-freebsd11.1-libgfortran5.jl deleted file mode 100644 index fe13a3f..0000000 --- a/src/wrappers/x86_64-unknown-freebsd11.1-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-unknown-freebsd11.1-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "LD_LIBRARY_PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["lib", "libsundials_idas.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["lib", "libsundials_sunlinsolband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["lib", "libsundials_sunmatrixsparse.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ':') - global LIBPATH = join(LIBPATH_list, ':') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-unknown-freebsd11.1-libgfortran4.jl b/src/wrappers/x86_64-unknown-freebsd11.1.jl similarity index 73% rename from src/wrappers/x86_64-unknown-freebsd11.1-libgfortran4.jl rename to src/wrappers/x86_64-unknown-freebsd11.1.jl index f1a2d79..5132907 100644 --- a/src/wrappers/x86_64-unknown-freebsd11.1-libgfortran4.jl +++ b/src/wrappers/x86_64-unknown-freebsd11.1.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-unknown-freebsd11.1-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for x86_64-unknown-freebsd11.1 +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "LD_LIBRARY_PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.3" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["lib", "libsundials_sunlinsollapackband.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.so.3" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.so.5" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.3" +const libsundials_kinsol = "libsundials_kinsol.so.3" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.3" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.1" # Relative path to `libsundials_idas` @@ -89,21 +47,7 @@ libsundials_idas_path = "" libsundials_idas_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.so.4" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.so.5" +const libsundials_idas = "libsundials_idas.so.2" # Relative path to `libsundials_sunlinsolband` @@ -117,133 +61,119 @@ libsundials_sunlinsolband_path = "" libsundials_sunlinsolband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.3" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.so.4" +const libsundials_sunlinsolband = "libsundials_sunlinsolband.so.1" -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["lib", "libsundials_sunlinsolspfgmr.so"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["lib", "libsundials_sunlinsoldense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.so.3" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.so.1" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["lib", "libsundials_sunnonlinsolfixedpoint.so"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.so.2" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.1" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["lib", "libsundials_kinsol.so"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["lib", "libsundials_sunmatrixdense.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.so.5" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.so.1" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.so.5" +const libsundials_cvode = "libsundials_cvode.so.3" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["lib", "libsundials_sunlinsollapackdense.so"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.so.3" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.1" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["lib", "libsundials_sunmatrixband.so"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.so.3" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.1" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["lib", "libsundials_cvode.so"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["lib", "libsundials_sunlinsolsptfqmr.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.so.5" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.so.1" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["lib", "libsundials_nvecmanyvector.so"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.so.5" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.1" # Relative path to `libsundials_sunmatrixsparse` @@ -257,77 +187,77 @@ libsundials_sunmatrixsparse_path = "" libsundials_sunmatrixsparse_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.3" +const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.so.1" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["lib", "libsundials_sunnonlinsolnewton.so"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["lib", "libsundials_cvodes.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.so.2" +const libsundials_cvodes = "libsundials_cvodes.so.3" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["lib", "libsundials_sunlinsolspgmr.so"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["lib", "libsundials_ida.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.so.3" +const libsundials_ida = "libsundials_ida.so.3" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["lib", "libsundials_arkode.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.3" +const libsundials_arkode = "libsundials_arkode.so.2" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["lib", "libsundials_sunlinsolklu.so"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["lib", "libsundials_nvecserial.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.so.3" +const libsundials_nvecserial = "libsundials_nvecserial.so.3" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["lib", "libsundials_sunlinsolpcg.so"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["lib", "libsundials_sunlinsolspbcgs.so"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.so.3" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.so.1" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list)) diff --git a/src/wrappers/x86_64-w64-mingw32-libgfortran3.jl b/src/wrappers/x86_64-w64-mingw32-libgfortran3.jl deleted file mode 100644 index 899f0d0..0000000 --- a/src/wrappers/x86_64-w64-mingw32-libgfortran3.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-w64-mingw32-libgfortran3 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["bin", "libsundials_sunlinsoldense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.dll" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["bin", "libsundials_sunlinsollapackband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.dll" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["bin", "libsundials_ida.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.dll" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["bin", "libsundials_sunmatrixdense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.dll" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["bin", "libsundials_sunlinsolsptfqmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.dll" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["bin", "libsundials_idas.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.dll" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["bin", "libsundials_cvodes.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.dll" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["bin", "libsundials_sunlinsolband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.dll" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["bin", "libsundials_arkode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.dll" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["bin", "libsundials_sunlinsolspfgmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.dll" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["bin", "libsundials_sunnonlinsolfixedpoint.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.dll" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["bin", "libsundials_kinsol.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.dll" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["bin", "libsundials_nvecserial.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.dll" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["bin", "libsundials_sunlinsollapackdense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.dll" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["bin", "libsundials_sunmatrixband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.dll" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["bin", "libsundials_cvode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.dll" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["bin", "libsundials_nvecmanyvector.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.dll" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["bin", "libsundials_sunmatrixsparse.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.dll" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["bin", "libsundials_sunnonlinsolnewton.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.dll" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["bin", "libsundials_sunlinsolspgmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.dll" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["bin", "libsundials_sunlinsolspbcgs.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.dll" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["bin", "libsundials_sunlinsolklu.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.dll" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["bin", "libsundials_sunlinsolpcg.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.dll" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [Sys.BINDIR, joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ';') - global LIBPATH = join(LIBPATH_list, ';') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-w64-mingw32-libgfortran5.jl b/src/wrappers/x86_64-w64-mingw32-libgfortran5.jl deleted file mode 100644 index 82f3522..0000000 --- a/src/wrappers/x86_64-w64-mingw32-libgfortran5.jl +++ /dev/null @@ -1,521 +0,0 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-w64-mingw32-libgfortran5 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg - -using OpenBLAS_jll -using SuiteSparse_jll -## Global variables -PATH = "" -LIBPATH = "" -LIBPATH_env = "PATH" - -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["bin", "libsundials_sunlinsoldense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.dll" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["bin", "libsundials_sunlinsollapackband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.dll" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["bin", "libsundials_ida.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.dll" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["bin", "libsundials_sunmatrixdense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" - -# libsundials_sunmatrixdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.dll" - - -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["bin", "libsundials_sunlinsolsptfqmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" - -# libsundials_sunlinsolsptfqmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.dll" - - -# Relative path to `libsundials_idas` -const libsundials_idas_splitpath = ["bin", "libsundials_idas.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_idas_path = "" - -# libsundials_idas-specific global declaration -# This will be filled out by __init__() -libsundials_idas_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_idas = "libsundials_idas.dll" - - -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["bin", "libsundials_cvodes.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.dll" - - -# Relative path to `libsundials_sunlinsolband` -const libsundials_sunlinsolband_splitpath = ["bin", "libsundials_sunlinsolband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolband_path = "" - -# libsundials_sunlinsolband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolband = "libsundials_sunlinsolband.dll" - - -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["bin", "libsundials_arkode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.dll" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["bin", "libsundials_sunlinsolspfgmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" - -# libsundials_sunlinsolspfgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.dll" - - -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["bin", "libsundials_sunnonlinsolfixedpoint.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" - -# libsundials_sunnonlinsolfixedpoint-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.dll" - - -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["bin", "libsundials_kinsol.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" - -# libsundials_kinsol-specific global declaration -# This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.dll" - - -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["bin", "libsundials_nvecserial.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" - -# libsundials_nvecserial-specific global declaration -# This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.dll" - - -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["bin", "libsundials_sunlinsollapackdense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" - -# libsundials_sunlinsollapackdense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.dll" - - -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["bin", "libsundials_sunmatrixband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" - -# libsundials_sunmatrixband-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.dll" - - -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["bin", "libsundials_cvode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" - -# libsundials_cvode-specific global declaration -# This will be filled out by __init__() -libsundials_cvode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.dll" - - -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["bin", "libsundials_nvecmanyvector.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" - -# libsundials_nvecmanyvector-specific global declaration -# This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.dll" - - -# Relative path to `libsundials_sunmatrixsparse` -const libsundials_sunmatrixsparse_splitpath = ["bin", "libsundials_sunmatrixsparse.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixsparse_path = "" - -# libsundials_sunmatrixsparse-specific global declaration -# This will be filled out by __init__() -libsundials_sunmatrixsparse_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.dll" - - -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["bin", "libsundials_sunnonlinsolnewton.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" - -# libsundials_sunnonlinsolnewton-specific global declaration -# This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.dll" - - -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["bin", "libsundials_sunlinsolspgmr.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" - -# libsundials_sunlinsolspgmr-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.dll" - - -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["bin", "libsundials_sunlinsolspbcgs.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" - -# libsundials_sunlinsolspbcgs-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.dll" - - -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["bin", "libsundials_sunlinsolklu.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" - -# libsundials_sunlinsolklu-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.dll" - - -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["bin", "libsundials_sunlinsolpcg.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" - -# libsundials_sunlinsolpcg-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.dll" - - -""" -Open all libraries -""" -function __init__() - global artifact_dir = abspath(artifact"Sundials") - - # Initialize PATH and LIBPATH environment variable listings - global PATH_list, LIBPATH_list - # We first need to add to LIBPATH_list the libraries provided by Julia - append!(LIBPATH_list, [Sys.BINDIR, joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]) - # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists, - # then append them to our own. - foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) - foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - - global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_idas_handle = dlopen(libsundials_idas_path) - push!(LIBPATH_list, dirname(libsundials_idas_path)) - - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) - - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) - - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) - - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) - - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) - - global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) - - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) - - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) - - # Filter out duplicate and empty entries in our PATH and LIBPATH entries - filter!(!isempty, unique!(PATH_list)) - filter!(!isempty, unique!(LIBPATH_list)) - global PATH = join(PATH_list, ';') - global LIBPATH = join(LIBPATH_list, ';') - - # Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms - # that don't honor our "already opened" trick) - #for lp in LIBPATH_list - # push!(DL_LOAD_PATH, lp) - #end -end # __init__() - diff --git a/src/wrappers/x86_64-w64-mingw32-libgfortran4.jl b/src/wrappers/x86_64-w64-mingw32.jl similarity index 75% rename from src/wrappers/x86_64-w64-mingw32-libgfortran4.jl rename to src/wrappers/x86_64-w64-mingw32.jl index 1baa5bd..8f1035a 100644 --- a/src/wrappers/x86_64-w64-mingw32-libgfortran4.jl +++ b/src/wrappers/x86_64-w64-mingw32.jl @@ -1,5 +1,5 @@ -# Autogenerated wrapper script for Sundials_jll for x86_64-w64-mingw32-libgfortran4 -export libsundials_sunlinsoldense, libsundials_sunlinsollapackband, libsundials_ida, libsundials_sunmatrixdense, libsundials_sunlinsolsptfqmr, libsundials_idas, libsundials_cvodes, libsundials_sunlinsolband, libsundials_arkode, libsundials_sunlinsolspfgmr, libsundials_sunnonlinsolfixedpoint, libsundials_kinsol, libsundials_nvecserial, libsundials_sunlinsollapackdense, libsundials_sunmatrixband, libsundials_cvode, libsundials_nvecmanyvector, libsundials_sunmatrixsparse, libsundials_sunnonlinsolnewton, libsundials_sunlinsolspgmr, libsundials_sunlinsolspbcgs, libsundials_sunlinsolklu, libsundials_sunlinsolpcg +# Autogenerated wrapper script for Sundials_jll for x86_64-w64-mingw32 +export libsundials_kinsol, libsundials_sunlinsolspfgmr, libsundials_idas, libsundials_sunlinsolband, libsundials_sunlinsoldense, libsundials_sunlinsolspgmr, libsundials_sunmatrixdense, libsundials_cvode, libsundials_sunmatrixband, libsundials_sunlinsolklu, libsundials_sunlinsolsptfqmr, libsundials_sunlinsolpcg, libsundials_sunmatrixsparse, libsundials_cvodes, libsundials_ida, libsundials_arkode, libsundials_nvecserial, libsundials_sunlinsolspbcgs using OpenBLAS_jll using SuiteSparse_jll @@ -8,74 +8,32 @@ PATH = "" LIBPATH = "" LIBPATH_env = "PATH" -# Relative path to `libsundials_sunlinsoldense` -const libsundials_sunlinsoldense_splitpath = ["bin", "libsundials_sunlinsoldense.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsoldense_path = "" - -# libsundials_sunlinsoldense-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsoldense_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.dll" - - -# Relative path to `libsundials_sunlinsollapackband` -const libsundials_sunlinsollapackband_splitpath = ["bin", "libsundials_sunlinsollapackband.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackband_path = "" - -# libsundials_sunlinsollapackband-specific global declaration -# This will be filled out by __init__() -libsundials_sunlinsollapackband_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackband = "libsundials_sunlinsollapackband.dll" - - -# Relative path to `libsundials_ida` -const libsundials_ida_splitpath = ["bin", "libsundials_ida.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_ida_path = "" - -# libsundials_ida-specific global declaration -# This will be filled out by __init__() -libsundials_ida_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_ida = "libsundials_ida.dll" - - -# Relative path to `libsundials_sunmatrixdense` -const libsundials_sunmatrixdense_splitpath = ["bin", "libsundials_sunmatrixdense.dll"] +# Relative path to `libsundials_kinsol` +const libsundials_kinsol_splitpath = ["bin", "libsundials_kinsol.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixdense_path = "" +libsundials_kinsol_path = "" -# libsundials_sunmatrixdense-specific global declaration +# libsundials_kinsol-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixdense_handle = C_NULL +libsundials_kinsol_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.dll" +const libsundials_kinsol = "libsundials_kinsol.dll" -# Relative path to `libsundials_sunlinsolsptfqmr` -const libsundials_sunlinsolsptfqmr_splitpath = ["bin", "libsundials_sunlinsolsptfqmr.dll"] +# Relative path to `libsundials_sunlinsolspfgmr` +const libsundials_sunlinsolspfgmr_splitpath = ["bin", "libsundials_sunlinsolspfgmr.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolsptfqmr_path = "" +libsundials_sunlinsolspfgmr_path = "" -# libsundials_sunlinsolsptfqmr-specific global declaration +# libsundials_sunlinsolspfgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolsptfqmr_handle = C_NULL +libsundials_sunlinsolspfgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.dll" +const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.dll" # Relative path to `libsundials_idas` @@ -92,20 +50,6 @@ libsundials_idas_handle = C_NULL const libsundials_idas = "libsundials_idas.dll" -# Relative path to `libsundials_cvodes` -const libsundials_cvodes_splitpath = ["bin", "libsundials_cvodes.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvodes_path = "" - -# libsundials_cvodes-specific global declaration -# This will be filled out by __init__() -libsundials_cvodes_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_cvodes = "libsundials_cvodes.dll" - - # Relative path to `libsundials_sunlinsolband` const libsundials_sunlinsolband_splitpath = ["bin", "libsundials_sunlinsolband.dll"] @@ -120,130 +64,116 @@ libsundials_sunlinsolband_handle = C_NULL const libsundials_sunlinsolband = "libsundials_sunlinsolband.dll" -# Relative path to `libsundials_arkode` -const libsundials_arkode_splitpath = ["bin", "libsundials_arkode.dll"] - -# This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_arkode_path = "" - -# libsundials_arkode-specific global declaration -# This will be filled out by __init__() -libsundials_arkode_handle = C_NULL - -# This must be `const` so that we can use it with `ccall()` -const libsundials_arkode = "libsundials_arkode.dll" - - -# Relative path to `libsundials_sunlinsolspfgmr` -const libsundials_sunlinsolspfgmr_splitpath = ["bin", "libsundials_sunlinsolspfgmr.dll"] +# Relative path to `libsundials_sunlinsoldense` +const libsundials_sunlinsoldense_splitpath = ["bin", "libsundials_sunlinsoldense.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspfgmr_path = "" +libsundials_sunlinsoldense_path = "" -# libsundials_sunlinsolspfgmr-specific global declaration +# libsundials_sunlinsoldense-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspfgmr_handle = C_NULL +libsundials_sunlinsoldense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspfgmr = "libsundials_sunlinsolspfgmr.dll" +const libsundials_sunlinsoldense = "libsundials_sunlinsoldense.dll" -# Relative path to `libsundials_sunnonlinsolfixedpoint` -const libsundials_sunnonlinsolfixedpoint_splitpath = ["bin", "libsundials_sunnonlinsolfixedpoint.dll"] +# Relative path to `libsundials_sunlinsolspgmr` +const libsundials_sunlinsolspgmr_splitpath = ["bin", "libsundials_sunlinsolspgmr.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolfixedpoint_path = "" +libsundials_sunlinsolspgmr_path = "" -# libsundials_sunnonlinsolfixedpoint-specific global declaration +# libsundials_sunlinsolspgmr-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolfixedpoint_handle = C_NULL +libsundials_sunlinsolspgmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolfixedpoint = "libsundials_sunnonlinsolfixedpoint.dll" +const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.dll" -# Relative path to `libsundials_kinsol` -const libsundials_kinsol_splitpath = ["bin", "libsundials_kinsol.dll"] +# Relative path to `libsundials_sunmatrixdense` +const libsundials_sunmatrixdense_splitpath = ["bin", "libsundials_sunmatrixdense.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_kinsol_path = "" +libsundials_sunmatrixdense_path = "" -# libsundials_kinsol-specific global declaration +# libsundials_sunmatrixdense-specific global declaration # This will be filled out by __init__() -libsundials_kinsol_handle = C_NULL +libsundials_sunmatrixdense_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_kinsol = "libsundials_kinsol.dll" +const libsundials_sunmatrixdense = "libsundials_sunmatrixdense.dll" -# Relative path to `libsundials_nvecserial` -const libsundials_nvecserial_splitpath = ["bin", "libsundials_nvecserial.dll"] +# Relative path to `libsundials_cvode` +const libsundials_cvode_splitpath = ["bin", "libsundials_cvode.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecserial_path = "" +libsundials_cvode_path = "" -# libsundials_nvecserial-specific global declaration +# libsundials_cvode-specific global declaration # This will be filled out by __init__() -libsundials_nvecserial_handle = C_NULL +libsundials_cvode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecserial = "libsundials_nvecserial.dll" +const libsundials_cvode = "libsundials_cvode.dll" -# Relative path to `libsundials_sunlinsollapackdense` -const libsundials_sunlinsollapackdense_splitpath = ["bin", "libsundials_sunlinsollapackdense.dll"] +# Relative path to `libsundials_sunmatrixband` +const libsundials_sunmatrixband_splitpath = ["bin", "libsundials_sunmatrixband.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsollapackdense_path = "" +libsundials_sunmatrixband_path = "" -# libsundials_sunlinsollapackdense-specific global declaration +# libsundials_sunmatrixband-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsollapackdense_handle = C_NULL +libsundials_sunmatrixband_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsollapackdense = "libsundials_sunlinsollapackdense.dll" +const libsundials_sunmatrixband = "libsundials_sunmatrixband.dll" -# Relative path to `libsundials_sunmatrixband` -const libsundials_sunmatrixband_splitpath = ["bin", "libsundials_sunmatrixband.dll"] +# Relative path to `libsundials_sunlinsolklu` +const libsundials_sunlinsolklu_splitpath = ["bin", "libsundials_sunlinsolklu.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunmatrixband_path = "" +libsundials_sunlinsolklu_path = "" -# libsundials_sunmatrixband-specific global declaration +# libsundials_sunlinsolklu-specific global declaration # This will be filled out by __init__() -libsundials_sunmatrixband_handle = C_NULL +libsundials_sunlinsolklu_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunmatrixband = "libsundials_sunmatrixband.dll" +const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.dll" -# Relative path to `libsundials_cvode` -const libsundials_cvode_splitpath = ["bin", "libsundials_cvode.dll"] +# Relative path to `libsundials_sunlinsolsptfqmr` +const libsundials_sunlinsolsptfqmr_splitpath = ["bin", "libsundials_sunlinsolsptfqmr.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_cvode_path = "" +libsundials_sunlinsolsptfqmr_path = "" -# libsundials_cvode-specific global declaration +# libsundials_sunlinsolsptfqmr-specific global declaration # This will be filled out by __init__() -libsundials_cvode_handle = C_NULL +libsundials_sunlinsolsptfqmr_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_cvode = "libsundials_cvode.dll" +const libsundials_sunlinsolsptfqmr = "libsundials_sunlinsolsptfqmr.dll" -# Relative path to `libsundials_nvecmanyvector` -const libsundials_nvecmanyvector_splitpath = ["bin", "libsundials_nvecmanyvector.dll"] +# Relative path to `libsundials_sunlinsolpcg` +const libsundials_sunlinsolpcg_splitpath = ["bin", "libsundials_sunlinsolpcg.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_nvecmanyvector_path = "" +libsundials_sunlinsolpcg_path = "" -# libsundials_nvecmanyvector-specific global declaration +# libsundials_sunlinsolpcg-specific global declaration # This will be filled out by __init__() -libsundials_nvecmanyvector_handle = C_NULL +libsundials_sunlinsolpcg_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_nvecmanyvector = "libsundials_nvecmanyvector.dll" +const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.dll" # Relative path to `libsundials_sunmatrixsparse` @@ -260,74 +190,74 @@ libsundials_sunmatrixsparse_handle = C_NULL const libsundials_sunmatrixsparse = "libsundials_sunmatrixsparse.dll" -# Relative path to `libsundials_sunnonlinsolnewton` -const libsundials_sunnonlinsolnewton_splitpath = ["bin", "libsundials_sunnonlinsolnewton.dll"] +# Relative path to `libsundials_cvodes` +const libsundials_cvodes_splitpath = ["bin", "libsundials_cvodes.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunnonlinsolnewton_path = "" +libsundials_cvodes_path = "" -# libsundials_sunnonlinsolnewton-specific global declaration +# libsundials_cvodes-specific global declaration # This will be filled out by __init__() -libsundials_sunnonlinsolnewton_handle = C_NULL +libsundials_cvodes_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunnonlinsolnewton = "libsundials_sunnonlinsolnewton.dll" +const libsundials_cvodes = "libsundials_cvodes.dll" -# Relative path to `libsundials_sunlinsolspgmr` -const libsundials_sunlinsolspgmr_splitpath = ["bin", "libsundials_sunlinsolspgmr.dll"] +# Relative path to `libsundials_ida` +const libsundials_ida_splitpath = ["bin", "libsundials_ida.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspgmr_path = "" +libsundials_ida_path = "" -# libsundials_sunlinsolspgmr-specific global declaration +# libsundials_ida-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspgmr_handle = C_NULL +libsundials_ida_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspgmr = "libsundials_sunlinsolspgmr.dll" +const libsundials_ida = "libsundials_ida.dll" -# Relative path to `libsundials_sunlinsolspbcgs` -const libsundials_sunlinsolspbcgs_splitpath = ["bin", "libsundials_sunlinsolspbcgs.dll"] +# Relative path to `libsundials_arkode` +const libsundials_arkode_splitpath = ["bin", "libsundials_arkode.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolspbcgs_path = "" +libsundials_arkode_path = "" -# libsundials_sunlinsolspbcgs-specific global declaration +# libsundials_arkode-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolspbcgs_handle = C_NULL +libsundials_arkode_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.dll" +const libsundials_arkode = "libsundials_arkode.dll" -# Relative path to `libsundials_sunlinsolklu` -const libsundials_sunlinsolklu_splitpath = ["bin", "libsundials_sunlinsolklu.dll"] +# Relative path to `libsundials_nvecserial` +const libsundials_nvecserial_splitpath = ["bin", "libsundials_nvecserial.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolklu_path = "" +libsundials_nvecserial_path = "" -# libsundials_sunlinsolklu-specific global declaration +# libsundials_nvecserial-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolklu_handle = C_NULL +libsundials_nvecserial_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolklu = "libsundials_sunlinsolklu.dll" +const libsundials_nvecserial = "libsundials_nvecserial.dll" -# Relative path to `libsundials_sunlinsolpcg` -const libsundials_sunlinsolpcg_splitpath = ["bin", "libsundials_sunlinsolpcg.dll"] +# Relative path to `libsundials_sunlinsolspbcgs` +const libsundials_sunlinsolspbcgs_splitpath = ["bin", "libsundials_sunlinsolspbcgs.dll"] # This will be filled out by __init__() for all products, as it must be done at runtime -libsundials_sunlinsolpcg_path = "" +libsundials_sunlinsolspbcgs_path = "" -# libsundials_sunlinsolpcg-specific global declaration +# libsundials_sunlinsolspbcgs-specific global declaration # This will be filled out by __init__() -libsundials_sunlinsolpcg_handle = C_NULL +libsundials_sunlinsolspbcgs_handle = C_NULL # This must be `const` so that we can use it with `ccall()` -const libsundials_sunlinsolpcg = "libsundials_sunlinsolpcg.dll" +const libsundials_sunlinsolspbcgs = "libsundials_sunlinsolspbcgs.dll" """ @@ -345,40 +275,19 @@ function __init__() foreach(p -> append!(PATH_list, p), (OpenBLAS_jll.PATH_list, SuiteSparse_jll.PATH_list,)) foreach(p -> append!(LIBPATH_list, p), (OpenBLAS_jll.LIBPATH_list, SuiteSparse_jll.LIBPATH_list,)) - global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - - global libsundials_sunlinsollapackband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackband_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackband_handle = dlopen(libsundials_sunlinsollapackband_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackband_path)) - - global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_ida_handle = dlopen(libsundials_ida_path) - push!(LIBPATH_list, dirname(libsundials_ida_path)) - - global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) + global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) + global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) + push!(LIBPATH_list, dirname(libsundials_kinsol_path)) - global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) + global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) + global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) global libsundials_idas_path = normpath(joinpath(artifact_dir, libsundials_idas_splitpath...)) @@ -387,13 +296,6 @@ function __init__() global libsundials_idas_handle = dlopen(libsundials_idas_path) push!(LIBPATH_list, dirname(libsundials_idas_path)) - global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) - push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolband_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolband_splitpath...)) # Manually `dlopen()` this right now so that future invocations @@ -401,68 +303,61 @@ function __init__() global libsundials_sunlinsolband_handle = dlopen(libsundials_sunlinsolband_path) push!(LIBPATH_list, dirname(libsundials_sunlinsolband_path)) - global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) - - # Manually `dlopen()` this right now so that future invocations - # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_arkode_handle = dlopen(libsundials_arkode_path) - push!(LIBPATH_list, dirname(libsundials_arkode_path)) - - global libsundials_sunlinsolspfgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspfgmr_splitpath...)) + global libsundials_sunlinsoldense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsoldense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspfgmr_handle = dlopen(libsundials_sunlinsolspfgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspfgmr_path)) + global libsundials_sunlinsoldense_handle = dlopen(libsundials_sunlinsoldense_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsoldense_path)) - global libsundials_sunnonlinsolfixedpoint_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolfixedpoint_splitpath...)) + global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolfixedpoint_handle = dlopen(libsundials_sunnonlinsolfixedpoint_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolfixedpoint_path)) + global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) - global libsundials_kinsol_path = normpath(joinpath(artifact_dir, libsundials_kinsol_splitpath...)) + global libsundials_sunmatrixdense_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixdense_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_kinsol_handle = dlopen(libsundials_kinsol_path) - push!(LIBPATH_list, dirname(libsundials_kinsol_path)) + global libsundials_sunmatrixdense_handle = dlopen(libsundials_sunmatrixdense_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixdense_path)) - global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) + global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) - push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) + global libsundials_cvode_handle = dlopen(libsundials_cvode_path) + push!(LIBPATH_list, dirname(libsundials_cvode_path)) - global libsundials_sunlinsollapackdense_path = normpath(joinpath(artifact_dir, libsundials_sunlinsollapackdense_splitpath...)) + global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsollapackdense_handle = dlopen(libsundials_sunlinsollapackdense_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsollapackdense_path)) + global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) + push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) - global libsundials_sunmatrixband_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixband_splitpath...)) + global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunmatrixband_handle = dlopen(libsundials_sunmatrixband_path) - push!(LIBPATH_list, dirname(libsundials_sunmatrixband_path)) + global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) - global libsundials_cvode_path = normpath(joinpath(artifact_dir, libsundials_cvode_splitpath...)) + global libsundials_sunlinsolsptfqmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolsptfqmr_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_cvode_handle = dlopen(libsundials_cvode_path) - push!(LIBPATH_list, dirname(libsundials_cvode_path)) + global libsundials_sunlinsolsptfqmr_handle = dlopen(libsundials_sunlinsolsptfqmr_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolsptfqmr_path)) - global libsundials_nvecmanyvector_path = normpath(joinpath(artifact_dir, libsundials_nvecmanyvector_splitpath...)) + global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_nvecmanyvector_handle = dlopen(libsundials_nvecmanyvector_path) - push!(LIBPATH_list, dirname(libsundials_nvecmanyvector_path)) + global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) global libsundials_sunmatrixsparse_path = normpath(joinpath(artifact_dir, libsundials_sunmatrixsparse_splitpath...)) @@ -471,40 +366,40 @@ function __init__() global libsundials_sunmatrixsparse_handle = dlopen(libsundials_sunmatrixsparse_path) push!(LIBPATH_list, dirname(libsundials_sunmatrixsparse_path)) - global libsundials_sunnonlinsolnewton_path = normpath(joinpath(artifact_dir, libsundials_sunnonlinsolnewton_splitpath...)) + global libsundials_cvodes_path = normpath(joinpath(artifact_dir, libsundials_cvodes_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunnonlinsolnewton_handle = dlopen(libsundials_sunnonlinsolnewton_path) - push!(LIBPATH_list, dirname(libsundials_sunnonlinsolnewton_path)) + global libsundials_cvodes_handle = dlopen(libsundials_cvodes_path) + push!(LIBPATH_list, dirname(libsundials_cvodes_path)) - global libsundials_sunlinsolspgmr_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspgmr_splitpath...)) + global libsundials_ida_path = normpath(joinpath(artifact_dir, libsundials_ida_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspgmr_handle = dlopen(libsundials_sunlinsolspgmr_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspgmr_path)) + global libsundials_ida_handle = dlopen(libsundials_ida_path) + push!(LIBPATH_list, dirname(libsundials_ida_path)) - global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) + global libsundials_arkode_path = normpath(joinpath(artifact_dir, libsundials_arkode_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) + global libsundials_arkode_handle = dlopen(libsundials_arkode_path) + push!(LIBPATH_list, dirname(libsundials_arkode_path)) - global libsundials_sunlinsolklu_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolklu_splitpath...)) + global libsundials_nvecserial_path = normpath(joinpath(artifact_dir, libsundials_nvecserial_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolklu_handle = dlopen(libsundials_sunlinsolklu_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolklu_path)) + global libsundials_nvecserial_handle = dlopen(libsundials_nvecserial_path) + push!(LIBPATH_list, dirname(libsundials_nvecserial_path)) - global libsundials_sunlinsolpcg_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolpcg_splitpath...)) + global libsundials_sunlinsolspbcgs_path = normpath(joinpath(artifact_dir, libsundials_sunlinsolspbcgs_splitpath...)) # Manually `dlopen()` this right now so that future invocations # of `ccall` with its `SONAME` will find this path immediately. - global libsundials_sunlinsolpcg_handle = dlopen(libsundials_sunlinsolpcg_path) - push!(LIBPATH_list, dirname(libsundials_sunlinsolpcg_path)) + global libsundials_sunlinsolspbcgs_handle = dlopen(libsundials_sunlinsolspbcgs_path) + push!(LIBPATH_list, dirname(libsundials_sunlinsolspbcgs_path)) # Filter out duplicate and empty entries in our PATH and LIBPATH entries filter!(!isempty, unique!(PATH_list))