diff options
Diffstat (limited to 'dev-lang/julia')
14 files changed, 46 insertions, 565 deletions
diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest index e7d3decb2066..c1aae0e7fc3d 100644 --- a/dev-lang/julia/Manifest +++ b/dev-lang/julia/Manifest @@ -1,30 +1,29 @@ -AUX julia-1.1.0-fix_build_system.patch 1651 BLAKE2B 62123d16fe25bd6d77ac7af05297bc2cb5529b58943fcd13060f0b2b3f329571ebbd82208793651ac5120cd4ed19b6eca6c3d0c829509288460a9e0e78817b48 SHA512 70f5cf43261216e16001acc2c64e0bc1457e1fd48a918b218f8b0b21877a44c274f3aad81f68f7176665ec94c2d17f89a880e1c0a9332beae9d25668f9a85a25 AUX julia-1.1.0-fix_llvm_install.patch 680 BLAKE2B ca0d95c503b8f6e76722d54147f7a64cda5781cefc6e05ed7cfc631b356c3131d43ce6703da6c61b791da08836d9a6b5b494556c2a0ecba8960f8a9395b2d66a SHA512 4d474c1ab1d74aeb98367d55ec557e22e43a3e3d35615b7cde20fb9a194b94f24237735ad431800ded6e120beae9d2d3706b778ea7f26409790e3649ba39117b AUX julia-1.4.0-no_symlink_llvm.patch 335 BLAKE2B 0df56ed45619df80b669bc790e0f93e475c94dac39fc8efcbdaa677a6ab02a6a3f832abf07990e8f50df8d900147f5e0ac9e2896edbbc4a015e49e74864315fa SHA512 563ed79132655b8c28a01d17fb8765ed774c069e00d29847f864152f7641b53758c6d8ba5544789e8d3aeb0e1686ea946c31837b1e1b0a6f4bce6d531d5511ed AUX julia-1.6.0-fix-hardcoded-libs.patch 1524 BLAKE2B 65e07624f908faeced4b90bc74bf67c8c21e36e172590d071f5bd1d2b74f50ce9f948eff41e9048a776d12d840b36a6f0e40c37972716ab5ab515c02da395d52 SHA512 acd51d0e61eb4241a5d8095f53fc28bd790990664df247027123d5602d7bf1b71b6aed10974087698d1e0d7d70c59a4e30f3565b8cf897f6f5028c8a9af560e0 -AUX julia-1.6.0-fix-system-csl.patch 11191 BLAKE2B 224ce4e2abe11c2b4d91b63e6f717080150baf45219d2c94f31d78d962db5b139d791ce8d2761b7ac4e22201d4b5770ac9211d354b24285da3ca7e0b78f00baf SHA512 bb32848b96b7933f11c9db2d52494576e4b669c375721e7715654370413733762077a670a1102cb27d177b6ee798e312c7388febfef98948bcb39fad67d815b9 AUX julia-1.6.3-glibc-2.34.patch 1111 BLAKE2B 739af8b2b8c07113f7d5c6d0eaa92dc4bb9f6fc7968c6df00ef671ed89011bbb4ca232f3428fb3427067b28cceef350c1b42fb40b6eaca38304fbe2978f0ad99 SHA512 f09ff9e3ff163c9dc84c0b875b1caa74ccbf2fcc78719389e15dbd5b3fbac10f27f472e5d1f72890f8adb429b78e5ddff825a8637c5195e1952f497d8f5ea895 AUX julia-1.6.5-do_not_set_rpath.patch 1052 BLAKE2B 4f25a12c9cd6e345ecb1551c52ced8671984732fd673c88176bce8c4b9057785cd806987f60bd8c756c7c486ba80dafbc3f0b4314ab29c3156c22e7c508d1a60 SHA512 49e60f32bbc0e6d2df77f2f732b5a8bf23cfa7392eb5eac2eba70d85b07cfde19b3f4b0c41542d69bc71526f99401e6fc7ee78fc1cc15738e1145876786b0d1a AUX julia-1.6.5-hardcoded-libs.patch 2704 BLAKE2B 253d67a5de0278abf17d05f8e9a7f000f89f91d44779e4e93aa8b1a6388283af31e902913892a48ac4d587a6e009b69a4e81358cdd66b9e5471fdd7594482b85 SHA512 a498df49722f53cd598504fea47d54ec25d31f625342d47fb5f810e26ae73781597f6d008ce0f2978dd36c6bfb986c5ab4ce92ef1b6d01f31be8fa4add90553d AUX julia-1.6.5-lazy_artifacts_fix.patch 992 BLAKE2B 427a6b69fd07aed3bffc360e0ebd9fe9a15628ea0d2b5d3ac9821ebf2b029446f48f3cafb68a040c1f0deaec874a8350b791598a45794ee83d4ea55d8d16a511 SHA512 e21d53fa24db24966e536d342a0ebb4d6872df0968e4868db704a9d8398b6a1064fc7b00e395048143a4f55740fd1cf1b1c0bae9e53492041820ed54b86f320a +AUX julia-1.6.5-libgit-1.2.patch 800 BLAKE2B 669c30ae7c00c69feb7edb34d87c3c19ab7015d8634cd3c052a8f6ee2a28be7c7314e01298e95f9d4b00851feb6bab48c44d15eb425f912050f31b26db57c912 SHA512 a4facb24520d8bfe4486291e3537bb5d56ce5fd1aebd9c1ebe657306d0e4a9cfa8cc235c2d715c1b9f4ecb3359cf3ea1dc0b4ff68d4c9a29ff578b4c667d09a2 +AUX julia-1.6.5-llvm_13_compat_part_1.patch 6957 BLAKE2B 581076ba652db52a3948c9bb42c5a2481b5fffa92fb1dcbcd007f2edb3a950ac49ec015f7571c29b50ae243d5e8e9e25952b7cbac9a3b5ec8bd94769104e2891 SHA512 5a7d8202ede9daed2149f3bc30dcf76d0d25f1734b91df3780b405fbd493f4a6f75c851f97a8d27e9ea5753f5003af3c5eb8193ee61cf5808acf56dca1ebb0ba +AUX julia-1.6.5-llvm_13_compat_part_2.patch 2897 BLAKE2B 7896e392fb8c2364fa10921f7396206fb6785dc430256646a537dcfb0c05a7d8faaa33feab7dad61c6c6e57c33f89eb0ce1eea85c3148622e61b3f0ce83c2164 SHA512 f8a7060236afd28da260e8dff5d69b2562d9cd204f090e1868592aa9d59df015a3a6d0bb19e1dfbaaa3825a8b81152f0e154e06cd31c87e89916269bbef68203 +AUX julia-1.6.5-llvm_13_compat_part_3.patch 13351 BLAKE2B 76a72595a104ce290bce7a37ca6f3f29754753ac20ed3c2beeb9fce92d5aeda2b1396e523f70c0fb2eb16d4dc9cc888ebb5e78bc22f2689335cfca11f6b77630 SHA512 128896ab9bf161d7b596a0330977a598f57c19e34066281e7aa2d512e66f1a9d2bbff537af5b5b99198bef7a02e17a32eaafcff6f1ac2bfeef525e0763bf96b7 AUX julia-1.6.5-llvm_13_compat_part_4.patch 1176 BLAKE2B 929f811f68f327b65a4e0505cc9ffb161c889873084d84ff2f1967fccc2e66a49889c8d7786179be0cf0d1072646fbd24575d98d890c47cee4128fb28e746fd0 SHA512 a56d53afef18c2f7af5088f60085d83592204ebf53670571bd76a4dfb07f286eb7d46f23c54176a8148dd8665ec3ba3419429ab435bc037841daf3084b065df6 AUX julia-1.6.5-llvm_bad_perf_fix.patch 1261 BLAKE2B 2cd62550b5de1bbe81dbad29dd04d9316dc811db124056afc45505f33d38139a903a05e91457e58039f8f9a06673cbe5fe971c1e0d4c73d47018a6123b4c20ff SHA512 a9ce3f1a7a6f88c5e6afd6a024aa9c9cf938a003220d1adb986840da7f9ac5ff8d54c6539cd64beef108c688592e3a7fe20cc2bc86aaf0b92d5534463ca5246a -AUX julia-1.7.0-do_not_set_rpath.patch 1432 BLAKE2B aa4cbe505b8c26da05cab44f09c6457e978ce7e54b57d4e5065bb75eeb378d27e7bbd68cf64e8f1b2f31ec68172b80e08c825fb53e8319c4a66e1d00e7176e7c SHA512 9e5b71b773a1d64f369ae5002800d5291209b9b4cc16587550b013b2dfaa1311b0016f76862565575bba6a9989cbc7d2fa8dbe6d4925e25b20f7ae75f97a2a25 -AUX julia-1.7.0-hardcoded-libs.patch 2548 BLAKE2B fa09f79826ba95c4bbbf094e19789aa670c980a936705b2904fda1615174814a13b7f8d128f969dcaa9f7e976c949bfff15aff2ce7008847e19080cc291d56c8 SHA512 934b4e147e25f003944da64feeae971164aed055d7442f80f4598f5c714cc431dad79d9504d60ca09bd0974ec1dfac8eb7db028af441ce6e2095d9acae6ab370 -AUX julia-1.7.0-libgit-1.2.patch 800 BLAKE2B 669c30ae7c00c69feb7edb34d87c3c19ab7015d8634cd3c052a8f6ee2a28be7c7314e01298e95f9d4b00851feb6bab48c44d15eb425f912050f31b26db57c912 SHA512 a4facb24520d8bfe4486291e3537bb5d56ce5fd1aebd9c1ebe657306d0e4a9cfa8cc235c2d715c1b9f4ecb3359cf3ea1dc0b4ff68d4c9a29ff578b4c667d09a2 -AUX julia-1.7.0-llvm_13_compat_part_1.patch 6957 BLAKE2B 581076ba652db52a3948c9bb42c5a2481b5fffa92fb1dcbcd007f2edb3a950ac49ec015f7571c29b50ae243d5e8e9e25952b7cbac9a3b5ec8bd94769104e2891 SHA512 5a7d8202ede9daed2149f3bc30dcf76d0d25f1734b91df3780b405fbd493f4a6f75c851f97a8d27e9ea5753f5003af3c5eb8193ee61cf5808acf56dca1ebb0ba -AUX julia-1.7.0-llvm_13_compat_part_2.patch 2897 BLAKE2B 7896e392fb8c2364fa10921f7396206fb6785dc430256646a537dcfb0c05a7d8faaa33feab7dad61c6c6e57c33f89eb0ce1eea85c3148622e61b3f0ce83c2164 SHA512 f8a7060236afd28da260e8dff5d69b2562d9cd204f090e1868592aa9d59df015a3a6d0bb19e1dfbaaa3825a8b81152f0e154e06cd31c87e89916269bbef68203 -AUX julia-1.7.0-llvm_13_compat_part_3.patch 13351 BLAKE2B 76a72595a104ce290bce7a37ca6f3f29754753ac20ed3c2beeb9fce92d5aeda2b1396e523f70c0fb2eb16d4dc9cc888ebb5e78bc22f2689335cfca11f6b77630 SHA512 128896ab9bf161d7b596a0330977a598f57c19e34066281e7aa2d512e66f1a9d2bbff537af5b5b99198bef7a02e17a32eaafcff6f1ac2bfeef525e0763bf96b7 -AUX julia-1.7.0-make-install-no-build.patch 691 BLAKE2B 4f36445f2067c4b983f3ece17cd3866adc1df39ef6b02714dffe10df8febd326cba9f7a1b85f52bef739d4e15a906e9d1990315f974b981c5ecc8b4c7a487113 SHA512 4be8de4913b58a3a84782f08a569b96741f8c9c7ff3378e34624ad9b250c7c7f2dbed9a1d2a8227f105802a89e589ef4abd3d512793d90741dd35c56a8fff75f +AUX julia-1.6.5-make-install-no-build.patch 691 BLAKE2B 4f36445f2067c4b983f3ece17cd3866adc1df39ef6b02714dffe10df8febd326cba9f7a1b85f52bef739d4e15a906e9d1990315f974b981c5ecc8b4c7a487113 SHA512 4be8de4913b58a3a84782f08a569b96741f8c9c7ff3378e34624ad9b250c7c7f2dbed9a1d2a8227f105802a89e589ef4abd3d512793d90741dd35c56a8fff75f +AUX julia-1.7.1-do_not_set_rpath.patch 482 BLAKE2B a68093aad4c76238abeba55d36162ffee2f943952f0e30f1615bbfa002aa219140a85092edbd12d0f93f39c9cdadc1b7427e76c9f290462d4552233f6673f186 SHA512 612652792c5e0cabd1300120fb7556b026cb16d8890ed267a6e90bbc46ca8c7f62dcbc00aee4cfefd08a400f5d7c8cc219e32f90f513783cd7fc096e9c1704f9 +AUX julia-1.7.1-hardcoded-libs.patch 2548 BLAKE2B fa09f79826ba95c4bbbf094e19789aa670c980a936705b2904fda1615174814a13b7f8d128f969dcaa9f7e976c949bfff15aff2ce7008847e19080cc291d56c8 SHA512 934b4e147e25f003944da64feeae971164aed055d7442f80f4598f5c714cc431dad79d9504d60ca09bd0974ec1dfac8eb7db028af441ce6e2095d9acae6ab370 DIST julia-1.6.3.tar.gz 7734900 BLAKE2B 679851ee159ac83f49e54f1d71068d4abde919a0da39475dccaecc97e705b87db70c38a55fbc7a0cfacc774291013b189fb516817d6c6e67ca5ccfbb515c3f90 SHA512 a622fddc9e9f3f47037053a1e722153a567c065723f99a97912f8c5a6c2a22c3be0be674325361dd1b04601bbe6c6f204c66004ce887f3f7822e8204fd6855de DIST julia-1.6.5-full.tar.gz 153795029 BLAKE2B b86d3ad8dbc4ce486cc0d5e3c25f40c0bedf38cab5b29f1aac4dd527650e78c2e0e462f4eb13fde787adf48a2de9f8eee9cfb8f4aaafbae6ee5e76d7d9608995 SHA512 f057a913f4579280d757c0a97a7cd800fb335be8ec83a27a577d2bee0c9736d49715c7861f7bc1e6461966634bd82890f1f69fd0167f21903ad614e8f70e0dcc -DIST julia-1.7.0-full.tar.gz 255670801 BLAKE2B e7c5be50ab9e7014f028cf7d0530b269e78dd798dc3d4a88af2ed9fa1331694e39fbcae26d2cae6f15aaf1087656384c9872f344f99121406abdf2902a200176 SHA512 00e1bfe354010f5d900476e46b471c4425b711fff5a2aa0ac9e5dbe6ff02245011d4297e4703f2d46f7d4e7b6d97ffaf1bc63170edbfec440196c5ec75c984ce DIST julia-1.7.1-full.tar.gz 255682275 BLAKE2B 923cd1ed735f1ff5537ff8655ba5b63cc8d27a9b36ba05f3942447bea67034ad771ca8f69192ca7718ab3aace5d12c0e08961eafead9aedb9af35e2d212e8e97 SHA512 df6c9d33ed69c1b53a7f77f95954d4ed5fadb176ebf9f490e7721bc036109edfaa5873ce9041620af1d5c3731db7acc5af932b4173ce54bcc7ae3d7c9c393638 +DIST julia-1.7.1-llvm_13_compat_part_3.patch 28006 BLAKE2B b1909fd6df1ac51e7e2d16279ff5ed2febe27967832ddbb9517372dcb41597f7ba9fa6013d65fdbdaf345b5c32fdf90f60c086afcdf6b793172061fe63263b0f SHA512 d251d5fbc088aa03e2c423926fa9f82a8a29a995e20150f27bf01ea9209008259f97daf27c333686b62412190fa4077cca178ce39bb6c7bd4e3e8b4f2affa22f +DIST julia-1.7.1-llvm_13_compat_part_4.patch 11421 BLAKE2B ca4f3e2c6b60462f7f04f609be07f95b81fe076350167de3354cf5c0fb98d3f1b5a5b2d275da8074a077be3edbb8544a3403a080dc1ca0dbe827dde96c61f5f2 SHA512 5cd709b24a6e00f67998efcc21d77b710399f1bf96e7656b3c90a2cc564bcf05e2e1012b788751d48ff7964fb6be2af710d850c34e83532976addecae4db1969 +DIST julia-1.7.1-llvm_13_compat_part_5.patch 27094 BLAKE2B b70a96c4f897349dce04246335bc38a6726e02a43cd5a28bc31bfcb9190f5361e2e4d16a9fb5c1b3c0e53d2e59f5380b161350968f9479cdb765b4681b9f5743 SHA512 efd1029d0030417082b7d640b2e4b7bb35818d555c808bceb9a31e5d93b2f27a8ca11b9228cf4129b5bee411e1fe9e4ce4e7515226ceab905532d1875e260f7c DIST julia-libuv-fb3e3364c33ae48c827f6b103e05c3f0e78b79a9.tar.gz 1643008 BLAKE2B b2a121e0b94cd1f5d40e292fc2356e8940bf8dfe1e6a200b50caf60def1982b705d1d42dd234e9e8b0aa70439bf34a5bce71761424623cbfcd20c9131ce09c25 SHA512 29947c236aef8931be4767df1cd8404ee9b036ee107b31cbce6fad9a97743df57d068b15bc4bd00320b9b81cd879258a9ec9dc675853e424ccdb8d6bdd226240 DIST julia-libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz 4183 BLAKE2B c932e23b1b476d3fd16cf6f451efd5fc6d9c1ec2c53e8ac086340a100817d9b30dae3eff50b284a42c09b2bbae30b9e2fd38b2881f8cbf4974a89f3bd0c87599 SHA512 6fb77b715d70d9bc95a8546c3bf97bd3677c7ea344b88bb5bc3bbfac9dceabe8a8cde7a0f64dec884cde802e4a3000e30837d3f824b5a9242348c4fe061526a3 DIST llvm-11.0.1.src.tar.xz 38914796 BLAKE2B ccdec0632c9cf5fae8e6947c266136e04dc8c609e2ca9c1efb1205767d9181301e0de14601d11e2f27ec0ebc0749858a5f1089d8a40a9ae3f22582cbf6abef6e SHA512 b42c67ef88e09dd94171f85cdf49a421a15cfc82ff715c7ce6de22f98cefbe6c7cdf6bf4af7ca017d56ecf6aa3e36df3d823a78cf2dd5312de4301b54b43dbe8 EBUILD julia-1.6.3.ebuild 4604 BLAKE2B 8e5a273feaf93fa44aaf5f4e37ba429125006566184f65af6309e118799d9087a523317322dea5282c39c919a492fa28b24c8fedec5290bee6265cd50e145718 SHA512 2f06acbc40b6d081e15433d374ce268d0a4a290f1f720a690ee0d5bb94b6f99688ba996989b340f0b4801a70574c942ba93ea0ccd381cfe4cf0e5df75e3e89c7 -EBUILD julia-1.6.5.ebuild 4693 BLAKE2B 71714cd0cd3e05fddc25fbd29210b9e1f3e1b4d7381a15958d337785018f75c104bd70637137dc89c803f71aae221e6f03aec09d92c10eea89386cef0fcd8bf9 SHA512 70ef664f044b03f704343b0517b83f978e61be25a335ba8211dd7ebe2fc57a6e4dc66b03aab6df1770bb24e07b5ecf22947d614b962cea0030c75ded3fca0987 -EBUILD julia-1.7.0.ebuild 4496 BLAKE2B e35e93a9084ac3708ab28c42cee312534d498213cff1c93fe5bd38cd89fd2d09cda66406fbdaa490e0598724f90b7e565b8d8d2988f1b25b2abc1e961dc1f2c2 SHA512 3d1d621f65954bee0cb0aae9a2799769abd784f292d7909d5bb506c0d89094dc934ddb16343b5fcba714a4a0228fed8f237d15eb10d25cad9ed323f6e25ad46e -EBUILD julia-1.7.1.ebuild 4496 BLAKE2B b7694f1cc0d4e98ec94f5e625e1b9c52016fcda626b0d0f45edceabef3d9b9f8a517a974f95d1008cfaba5e400f524a350741e22c5a98e9703dc5db55f4e6349 SHA512 e925d620de4a833fb0322a97d725b31df3ddbab116a925a2d303fae0bfda8a96b14fd1ceb7c1cc9a6c5387ed854136b3a5cc93d5e90f1f33e889a806a16a7c6b +EBUILD julia-1.6.5.ebuild 4693 BLAKE2B b1fad8bab8f2b9f4a70f85eff2c7f0896c05a3b833b7edbc40cf5c1afe64e9b8ea906394c3d3e74d30c46ad63f529ebcd383b87a239265977eddacc6d41c9827 SHA512 d65a2eae5a4b08aeccbb48a1771976fdb7c638e783ad3cb7845438dbecb4d3647e567a2a88f61fe8143055f86aaf045efe3b387d8668743b0c7aa0fde69b49f0 +EBUILD julia-1.7.1-r2.ebuild 4899 BLAKE2B fe19a2cae8bfaff1b000df2f6babf5d708c978d13601e02c7f9cb306fe83261e2523ae571f3e6e666d66c425f407b1cfae054471354447592bd4cfc8e1e97d59 SHA512 858702e1facb9b8312b0f34d77ac13427eb368e5c079dffdeffb8be42a063fdfe5f2efb624f75a0d4d2eabce15cf992f2f9bd77f8d2f4d66635f3a7e8ebd4f93 MISC metadata.xml 1530 BLAKE2B 776f8e2eaaebf6a0429b9019ec606c76f80828c5d27ec07f6503e855d44f681a476d9fe0631de0eb0f609b0256e063c172e8fbfacd3e37118e66c07ade2cb42d SHA512 d172e00e631a7a4e4b61c0f3ad90849b189c8b8aa8586fceb63c26ca407c4e477339f51b05d48681be37d06b873d6c2fce62b61efb4b9874323d92022d570288 diff --git a/dev-lang/julia/files/julia-1.1.0-fix_build_system.patch b/dev-lang/julia/files/julia-1.1.0-fix_build_system.patch deleted file mode 100644 index 394f5900a90e..000000000000 --- a/dev-lang/julia/files/julia-1.1.0-fix_build_system.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff --git a/Make.inc b/Make.inc -index 81ff923..79e47f1 100644 ---- a/Make.inc -+++ b/Make.inc -@@ -185,7 +185,7 @@ USE_GPL_LIBS ?= 1 - # Directories where said libraries get installed to - prefix ?= $(BUILDROOT)/julia-$(JULIA_COMMIT) - bindir := $(prefix)/bin --libdir := $(prefix)/lib -+libdir := $(prefix)/GENTOOLIBDIR - libexecdir := $(prefix)/libexec - datarootdir := $(prefix)/share - docdir := $(datarootdir)/doc/julia -@@ -417,7 +417,7 @@ ifneq ($(OS), WINNT) - JCXXFLAGS += -pedantic - endif - DEBUGFLAGS := -O0 -ggdb2 -DJL_DEBUG_BUILD -fstack-protector-all --SHIPFLAGS := -O3 -ggdb2 -falign-functions -+SHIPFLAGS := GENTOOCFLAGS - endif - - ifeq ($(USECLANG),1) -@@ -428,7 +428,7 @@ JCFLAGS := -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 - JCPPFLAGS := -fasynchronous-unwind-tables - JCXXFLAGS := -pipe $(fPIC) -fno-rtti -pedantic - DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all --SHIPFLAGS := -O3 -g -+SHIPFLAGS := GENTOOCFLAGS - ifeq ($(OS), Darwin) - ifeq ($(USE_LIBCPP), 1) - MACOSX_VERSION_MIN := 10.8 -@@ -457,7 +457,7 @@ JCFLAGS := -std=gnu11 -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 - JCPPFLAGS := - JCXXFLAGS := -pipe $(fPIC) -fno-rtti - DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all --SHIPFLAGS := -O3 -g -falign-functions -+SHIPFLAGS := GENTOOCFLAGS - endif - - ifeq ($(USECCACHE), 1) -diff --git a/doc/Makefile b/doc/Makefile -index 99e60ee..2027fb5 100644 ---- a/doc/Makefile -+++ b/doc/Makefile -@@ -30,7 +30,7 @@ deps: UnicodeData.txt - $(JLCHECKSUM) UnicodeData.txt - - clean: -- -rm -rf _build/* deps/* docbuild.log UnicodeData.txt -+ @echo "Do not clean doc/_build/html. Just use it..." - - cleanall: clean - diff --git a/dev-lang/julia/files/julia-1.6.0-fix-system-csl.patch b/dev-lang/julia/files/julia-1.6.0-fix-system-csl.patch deleted file mode 100644 index 90a097197bff..000000000000 --- a/dev-lang/julia/files/julia-1.6.0-fix-system-csl.patch +++ /dev/null @@ -1,271 +0,0 @@ -From 71d7a8a8c12b72bfa362ae955d2ce4dfbdf5b8ba Mon Sep 17 00:00:00 2001 -From: Elliot Saba <staticfloat@gmail.com> -Date: Fri, 26 Mar 2021 18:40:07 +0000 -Subject: [PATCH 1/2] [build] Add `symlink_system_library` calls for CSL - -We differentiate between a `USE_BINARYBUILDER_CSL=0` configuration -(where we copy the CSL libraries into the Julia build tree) versus a -`USE_SYSTEM_CSL=1` configuration (where we symlink them in a manner -similar to other system libararies) ---- - Make.inc | 23 +++++++++++++- - base/Makefile | 88 ++++++++++++++++++++++++++++++--------------------- - deps/csl.mk | 40 ++++++++--------------- - 3 files changed, 87 insertions(+), 64 deletions(-) - -diff --git a/Make.inc b/Make.inc -index 519720a861ed7..7cba05806e684 100644 ---- a/Make.inc -+++ b/Make.inc -@@ -596,6 +596,21 @@ else - SHLIB_EXT := so - endif - -+ifeq ($(OS),WINNT) -+define versioned_libname -+$$(if $(2),$(1)-$(2).$(SHLIB_EXT),$(1).$(SHLIB_EXT)) -+endef -+else ifeq ($(OS),Darwin) -+define versioned_libname -+$$(if $(2),$(1).$(2).$(SHLIB_EXT),$(1).$(SHLIB_EXT)) -+endef -+else -+define versioned_libname -+$$(if $(2),$(1).$(SHLIB_EXT).$(2),$(1).$(SHLIB_EXT)) -+endef -+endif -+ -+ - ifeq ($(SHLIB_EXT), so) - define SONAME_FLAGS - -Wl,-soname=$1 -@@ -1147,6 +1162,8 @@ BB_TRIPLET_LIBGFORTRAN := $(subst $(SPACE),-,$(filter-out cxx%,$(subst -,$(SPACE - BB_TRIPLET_CXXABI := $(subst $(SPACE),-,$(filter-out libgfortran%,$(subst -,$(SPACE),$(BB_TRIPLET_LIBGFORTRAN_CXXABI)))) - BB_TRIPLET := $(subst $(SPACE),-,$(filter-out cxx%,$(filter-out libgfortran%,$(subst -,$(SPACE),$(BB_TRIPLET_LIBGFORTRAN_CXXABI))))) - -+LIBGFORTRAN_VERSION := $(subst libgfortran,,$(filter libgfortran%,$(subst -,$(SPACE),$(BB_TRIPLET_LIBGFORTRAN)))) -+ - # This is the set of projects that BinaryBuilder dependencies are hooked up for. - BB_PROJECTS := BLASTRAMPOLINE OPENBLAS LLVM SUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 NGHTTP2 MPFR CURL LIBGIT2 PCRE LIBUV LIBUNWIND DSFMT OBJCONV ZLIB P7ZIP CSL - define SET_BB_DEFAULT -@@ -1479,8 +1496,12 @@ ifneq ($(findstring $(OS),Linux FreeBSD),) - LIBGCC_NAME := libgcc_s.$(SHLIB_EXT).1 - endif - -- -+# USE_SYSTEM_CSL causes it to get symlinked into build_private_shlibdir -+ifeq ($(USE_SYSTEM_CSL),1) -+LIBGCC_BUILD_DEPLIB := $(call dep_lib_path,$(build_libdir),$(build_private_shlibdir)/$(LIBGCC_NAME)) -+else - LIBGCC_BUILD_DEPLIB := $(call dep_lib_path,$(build_libdir),$(build_shlibdir)/$(LIBGCC_NAME)) -+endif - LIBGCC_INSTALL_DEPLIB := $(call dep_lib_path,$(libdir),$(private_shlibdir)/$(LIBGCC_NAME)) - - # USE_SYSTEM_LIBM and USE_SYSTEM_OPENLIBM causes it to get symlinked into build_private_shlibdir -diff --git a/base/Makefile b/base/Makefile -index e024e546f94d3..2bef6aab7f1f4 100644 ---- a/base/Makefile -+++ b/base/Makefile -@@ -169,53 +169,69 @@ endif - # echo "$$P" - - define symlink_system_library --symlink_$1: $$(build_private_libdir)/$1.$$(SHLIB_EXT) --$$(build_private_libdir)/$1.$$(SHLIB_EXT): -- REALPATH=`$$(call spawn,$$(build_depsbindir)/libwhich) -p $$(notdir $$@)` && \ -- $$(call resolve_path,REALPATH) && \ -- [ -e "$$$$REALPATH" ] && \ -- ([ ! -e "$$@" ] || rm "$$@") && \ -- echo ln -sf "$$$$REALPATH" "$$@" && \ -- ln -sf "$$$$REALPATH" "$$@" --ifneq ($2,) --ifneq ($$(USE_SYSTEM_$2),0) --SYMLINK_SYSTEM_LIBRARIES += symlink_$1 --endif -+libname_$2 := $$(notdir $(call versioned_libname,$2,$3)) -+libpath_$2 := $$(shell $$(call spawn,$$(build_depsbindir)/libwhich) -p $$(libname_$2) 2>/dev/null) -+symlink_$2: $$(build_private_libdir)/$$(libname_$2) -+$$(build_private_libdir)/$$(libname_$2): -+ @if [ -e "$$(libpath_$2)" ]; then \ -+ REALPATH=$$(libpath_$2); \ -+ $$(call resolve_path,REALPATH) && \ -+ [ -e "$$$$REALPATH" ] && \ -+ ([ ! -e "$$@" ] || rm "$$@") && \ -+ echo ln -sf "$$$$REALPATH" "$$@" && \ -+ ln -sf "$$$$REALPATH" "$$@"; \ -+ else \ -+ if [ "$4" != "ALLOW_FAILURE" ]; then \ -+ echo "System library symlink failure: Unable to locate $$(libname_$2) on your system!" >&2; \ -+ false; \ -+ fi; \ -+ fi -+ifneq ($$(USE_SYSTEM_$1),0) -+SYMLINK_SYSTEM_LIBRARIES += symlink_$2 - endif - endef - - # the following excludes: libuv.a, libutf8proc.a - --$(eval $(call symlink_system_library,$(LIBMNAME))) - ifneq ($(USE_SYSTEM_LIBM),0) --SYMLINK_SYSTEM_LIBRARIES += symlink_$(LIBMNAME) -+$(eval $(call symlink_system_library,LIBM,$(LIBMNAME))) - else ifneq ($(USE_SYSTEM_OPENLIBM),0) --SYMLINK_SYSTEM_LIBRARIES += symlink_$(LIBMNAME) -+$(eval $(call symlink_system_library,OPENLIBM,$(LIBMNAME))) - endif - --$(eval $(call symlink_system_library,libpcre2-8,PCRE)) --$(eval $(call symlink_system_library,libdSFMT,DSFMT)) --$(eval $(call symlink_system_library,$(LIBBLASNAME),BLAS)) -+$(eval $(call symlink_system_library,CSL,libgcc_s,1)) -+ifneq (,$(LIBGFORTRAN_VERSION)) -+$(eval $(call symlink_system_library,CSL,libgfortran,$(LIBGFORTRAN_VERSION))) -+endif -+$(eval $(call symlink_system_library,CSL,libquadmath,0)) -+$(eval $(call symlink_system_library,CSL,libstdc++,6)) -+# We allow libssp, libatomic and libgomp to fail as they are not available on all systems -+$(eval $(call symlink_system_library,CSL,libssp,0,ALLOW_FAILURE)) -+$(eval $(call symlink_system_library,CSL,libatomic,1,ALLOW_FAILURE)) -+$(eval $(call symlink_system_library,CSL,libgomp,1,ALLOW_FAILURE)) -+$(eval $(call symlink_system_library,PCRE,libpcre2-8)) -+$(eval $(call symlink_system_library,DSFMT,libdSFMT)) -+$(eval $(call symlink_system_library,BLAS,$(LIBBLASNAME))) - ifneq ($(LIBLAPACKNAME),$(LIBBLASNAME)) --$(eval $(call symlink_system_library,$(LIBLAPACKNAME),LAPACK)) -+$(eval $(call symlink_system_library,LAPACK,$(LIBLAPACKNAME))) - endif --$(eval $(call symlink_system_library,libgmp,GMP)) --$(eval $(call symlink_system_library,libmpfr,MPFR)) --$(eval $(call symlink_system_library,libmbedtls,MBEDTLS)) --$(eval $(call symlink_system_library,libmbedcrypto,MBEDTLS)) --$(eval $(call symlink_system_library,libmbedx509,MBEDTLS)) --$(eval $(call symlink_system_library,libssh2,LIBSSH2)) --$(eval $(call symlink_system_library,libnghttp2,NGHTTP2)) --$(eval $(call symlink_system_library,libcurl,CURL)) --$(eval $(call symlink_system_library,libgit2,LIBGIT2)) --$(eval $(call symlink_system_library,libamd,SUITESPARSE)) --$(eval $(call symlink_system_library,libcamd,SUITESPARSE)) --$(eval $(call symlink_system_library,libccolamd,SUITESPARSE)) --$(eval $(call symlink_system_library,libcholmod,SUITESPARSE)) --$(eval $(call symlink_system_library,libcolamd,SUITESPARSE)) --$(eval $(call symlink_system_library,libumfpack,SUITESPARSE)) --$(eval $(call symlink_system_library,libspqr,SUITESPARSE)) --$(eval $(call symlink_system_library,libsuitesparseconfig,SUITESPARSE)) -+$(eval $(call symlink_system_library,GMP,libgmp)) -+$(eval $(call symlink_system_library,MPFR,libmpfr)) -+$(eval $(call symlink_system_library,MBEDTLS,libmbedtls)) -+$(eval $(call symlink_system_library,MBEDTLS,libmbedcrypto)) -+$(eval $(call symlink_system_library,MBEDTLS,libmbedx509)) -+$(eval $(call symlink_system_library,LIBSSH2,libssh2)) -+$(eval $(call symlink_system_library,NGHTTP2,libnghttp2)) -+$(eval $(call symlink_system_library,CURL,libcurl)) -+$(eval $(call symlink_system_library,LIBGIT2,libgit2)) -+$(eval $(call symlink_system_library,SUITESPARSE,libamd)) -+$(eval $(call symlink_system_library,SUITESPARSE,libcamd)) -+$(eval $(call symlink_system_library,SUITESPARSE,libccolamd)) -+$(eval $(call symlink_system_library,SUITESPARSE,libcholmod)) -+$(eval $(call symlink_system_library,SUITESPARSE,libcolamd)) -+$(eval $(call symlink_system_library,SUITESPARSE,libumfpack)) -+$(eval $(call symlink_system_library,SUITESPARSE,libspqr)) -+$(eval $(call symlink_system_library,SUITESPARSE,libsuitesparseconfig)) - # EXCLUDED LIBRARIES (installed/used, but not vendored for use with dlopen): - # libunwind - endif # WINNT -diff --git a/deps/csl.mk b/deps/csl.mk -index 095d4ceec4a1e..423201cbb5a0c 100644 ---- a/deps/csl.mk -+++ b/deps/csl.mk -@@ -19,48 +19,34 @@ $$(build_shlibdir)/$(1): | $$(build_shlibdir) - [ -n "$$$${SRC_LIB}" ] && cp $$$${SRC_LIB} $$(build_shlibdir) - endef - --ifeq ($(OS),WINNT) --define gen_libname --$$(if $(2),lib$(1)-$(2).$(SHLIB_EXT),lib$(1).$(SHLIB_EXT)) --endef --else ifeq ($(OS),Darwin) --define gen_libname --$$(if $(2),lib$(1).$(2).$(SHLIB_EXT),lib$(1).$(SHLIB_EXT)) --endef --else --define gen_libname --$$(if $(2),lib$(1).$(SHLIB_EXT).$(2),lib$(1).$(SHLIB_EXT)) --endef --endif -- - # libgfortran has multiple names; we're just going to copy any version we can find - # Since we're only looking in the location given by `$(FC)` this should only succeed for one. --$(eval $(call copy_csl,$(call gen_libname,gfortran,3))) --$(eval $(call copy_csl,$(call gen_libname,gfortran,4))) --$(eval $(call copy_csl,$(call gen_libname,gfortran,5))) -+$(eval $(call copy_csl,$(call versioned_libname,libgfortran,3))) -+$(eval $(call copy_csl,$(call versioned_libname,libgfortran,4))) -+$(eval $(call copy_csl,$(call versioned_libname,libgfortran,5))) - - # These are all libraries that we should always have --$(eval $(call copy_csl,$(call gen_libname,quadmath,0))) --$(eval $(call copy_csl,$(call gen_libname,stdc++,6))) --$(eval $(call copy_csl,$(call gen_libname,ssp,0))) --$(eval $(call copy_csl,$(call gen_libname,atomic,1))) --$(eval $(call copy_csl,$(call gen_libname,gomp,1))) -+$(eval $(call copy_csl,$(call versioned_libname,libquadmath,0))) -+$(eval $(call copy_csl,$(call versioned_libname,libstdc++,6))) -+$(eval $(call copy_csl,$(call versioned_libname,libssp,0))) -+$(eval $(call copy_csl,$(call versioned_libname,libatomic,1))) -+$(eval $(call copy_csl,$(call versioned_libname,libgomp,1))) - - ifeq ($(OS),WINNT) - # Windwos has special gcc_s names - ifeq ($(ARCH),i686) --$(eval $(call copy_csl,$(call gen_libname,gcc_s_sjlj,1))) -+$(eval $(call copy_csl,$(call versioned_libname,libgcc_s_sjlj,1))) - else --$(eval $(call copy_csl,$(call gen_libname,gcc_s_seh,1))) -+$(eval $(call copy_csl,$(call versioned_libname,libgcc_s_seh,1))) - endif - else --$(eval $(call copy_csl,$(call gen_libname,gcc_s,1))) -+$(eval $(call copy_csl,$(call versioned_libname,libgcc_s,1))) - endif - # winpthread is only Windows, pthread is only others - ifeq ($(OS),WINNT) --$(eval $(call copy_csl,$(call gen_libname,winpthread,1))) -+$(eval $(call copy_csl,$(call versioned_libname,libwinpthread,1))) - else --$(eval $(call copy_csl,$(call gen_libname,pthread,0))) -+$(eval $(call copy_csl,$(call versioned_libname,libpthread,0))) - endif - - get-csl: - -From 6536b8519b25db844f2a1866d056879cb87d1c66 Mon Sep 17 00:00:00 2001 -From: Elliot Saba <staticfloat@gmail.com> -Date: Fri, 26 Mar 2021 22:32:04 +0000 -Subject: [PATCH 2/2] Expand `JL_PRIVATE_LIBS-1` for versioned library names as - well - -Without this, we fail to install things like `libgcc_s.so.1` when -installed into the private libdir by `symlink_system_libraries`. ---- - Makefile | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 823ff3b86339d..e08f0e959e1b3 100644 ---- a/Makefile -+++ b/Makefile -@@ -290,8 +290,11 @@ endif - done \ - done - for suffix in $(JL_PRIVATE_LIBS-1) ; do \ -- lib=$(build_private_libdir)/$${suffix}.$(SHLIB_EXT); \ -- $(INSTALL_M) $$lib $(DESTDIR)$(private_libdir) ; \ -+ for lib in $(build_private_libdir)/$${suffix}.$(SHLIB_EXT)*; do \ -+ if [ "$${lib##*.}" != "dSYM" ]; then \ -+ $(INSTALL_M) $$lib $(DESTDIR)$(private_libdir) ; \ -+ fi \ -+ done \ - done - endif - # Install `7z` into libexec/ diff --git a/dev-lang/julia/files/julia-1.7.0-libgit-1.2.patch b/dev-lang/julia/files/julia-1.6.5-libgit-1.2.patch index f0abc7b8f60d..f0abc7b8f60d 100644 --- a/dev-lang/julia/files/julia-1.7.0-libgit-1.2.patch +++ b/dev-lang/julia/files/julia-1.6.5-libgit-1.2.patch diff --git a/dev-lang/julia/files/julia-1.7.0-llvm_13_compat_part_1.patch b/dev-lang/julia/files/julia-1.6.5-llvm_13_compat_part_1.patch index 1398be7ec873..1398be7ec873 100644 --- a/dev-lang/julia/files/julia-1.7.0-llvm_13_compat_part_1.patch +++ b/dev-lang/julia/files/julia-1.6.5-llvm_13_compat_part_1.patch diff --git a/dev-lang/julia/files/julia-1.7.0-llvm_13_compat_part_2.patch b/dev-lang/julia/files/julia-1.6.5-llvm_13_compat_part_2.patch index 5a8c2cde93d5..5a8c2cde93d5 100644 --- a/dev-lang/julia/files/julia-1.7.0-llvm_13_compat_part_2.patch +++ b/dev-lang/julia/files/julia-1.6.5-llvm_13_compat_part_2.patch diff --git a/dev-lang/julia/files/julia-1.7.0-llvm_13_compat_part_3.patch b/dev-lang/julia/files/julia-1.6.5-llvm_13_compat_part_3.patch index 43b7925a9ce7..43b7925a9ce7 100644 --- a/dev-lang/julia/files/julia-1.7.0-llvm_13_compat_part_3.patch +++ b/dev-lang/julia/files/julia-1.6.5-llvm_13_compat_part_3.patch diff --git a/dev-lang/julia/files/julia-1.7.0-make-install-no-build.patch b/dev-lang/julia/files/julia-1.6.5-make-install-no-build.patch index 0632a6e726f7..0632a6e726f7 100644 --- a/dev-lang/julia/files/julia-1.7.0-make-install-no-build.patch +++ b/dev-lang/julia/files/julia-1.6.5-make-install-no-build.patch diff --git a/dev-lang/julia/files/julia-1.7.0-do_not_set_rpath.patch b/dev-lang/julia/files/julia-1.7.0-do_not_set_rpath.patch deleted file mode 100644 index 24f12d261053..000000000000 --- a/dev-lang/julia/files/julia-1.7.0-do_not_set_rpath.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/Makefile 2021-12-21 09:38:26.782829864 +0100 -+++ b/Makefile 2021-12-21 10:52:40.760565902 +0100 -@@ -336,7 +336,7 @@ - install_name_tool -add_rpath @executable_path/$(build_libdir_rel) @executable_path/$(libdir_rel) $(DESTDIR)$(bindir)/$$j; \ - done - endif --else ifneq (,$(findstring $(OS),Linux FreeBSD)) -+else ifneq (,$(findstring $(OS),FreeBSD)) - for j in $(JL_TARGETS) ; do \ - $(PATCHELF) --set-rpath '$$ORIGIN/$(private_libdir_rel):$$ORIGIN/$(libdir_rel)' $(DESTDIR)$(bindir)/$$j; \ - done -@@ -357,7 +357,7 @@ - endif - - # Set rpath for libjulia-internal, which is moving from `../lib` to `../lib/julia`. We only need to do this for Linux/FreeBSD --ifneq (,$(findstring $(OS),Linux FreeBSD)) -+ifneq (,$(findstring $(OS),FreeBSD)) - $(PATCHELF) --set-rpath '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-internal.$(SHLIB_EXT) - ifeq ($(BUNDLE_DEBUG_LIBS),1) - $(PATCHELF) --set-rpath '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-internal-debug.$(SHLIB_EXT) -@@ -365,7 +365,7 @@ - endif - - # Set rpath for LLVM.so which is `$ORIGIN/../lib` moving from `../lib` to `../lib/julia`. We only need to do this for Linux/FreeBSD --ifneq (,$(findstring $(OS),Linux FreeBSD)) -+ifneq (,$(findstring $(OS),FreeBSD)) - $(PATCHELF) --set-rpath '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libLLVM.$(SHLIB_EXT) - endif - diff --git a/dev-lang/julia/files/julia-1.7.1-do_not_set_rpath.patch b/dev-lang/julia/files/julia-1.7.1-do_not_set_rpath.patch new file mode 100644 index 000000000000..7b8c3c7ba51b --- /dev/null +++ b/dev-lang/julia/files/julia-1.7.1-do_not_set_rpath.patch @@ -0,0 +1,11 @@ +--- a/Makefile 2021-12-21 09:38:26.782829864 +0100 ++++ b/Makefile 2021-12-21 10:52:40.760565902 +0100 +@@ -365,7 +365,7 @@ + endif + + # Set rpath for LLVM.so which is `$ORIGIN/../lib` moving from `../lib` to `../lib/julia`. We only need to do this for Linux/FreeBSD +-ifneq (,$(findstring $(OS),Linux FreeBSD)) ++ifneq (,$(findstring $(OS),FreeBSD)) + $(PATCHELF) --set-rpath '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libLLVM.$(SHLIB_EXT) + endif + diff --git a/dev-lang/julia/files/julia-1.7.0-hardcoded-libs.patch b/dev-lang/julia/files/julia-1.7.1-hardcoded-libs.patch index be7d20368f6d..be7d20368f6d 100644 --- a/dev-lang/julia/files/julia-1.7.0-hardcoded-libs.patch +++ b/dev-lang/julia/files/julia-1.7.1-hardcoded-libs.patch diff --git a/dev-lang/julia/julia-1.6.5.ebuild b/dev-lang/julia/julia-1.6.5.ebuild index e7bcae84ca7a..534e938e4e3d 100644 --- a/dev-lang/julia/julia-1.6.5.ebuild +++ b/dev-lang/julia/julia-1.6.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -64,12 +64,12 @@ PATCHES=( "${FILESDIR}/${PN}"-1.1.0-fix_llvm_install.patch "${FILESDIR}/${PN}"-1.4.0-no_symlink_llvm.patch "${FILESDIR}/${PN}"-1.6.5-llvm_bad_perf_fix.patch - "${FILESDIR}/${PN}"-1.7.0-llvm_13_compat_part_1.patch - "${FILESDIR}/${PN}"-1.7.0-llvm_13_compat_part_2.patch - "${FILESDIR}/${PN}"-1.7.0-llvm_13_compat_part_3.patch + "${FILESDIR}/${PN}"-1.6.5-llvm_13_compat_part_1.patch + "${FILESDIR}/${PN}"-1.6.5-llvm_13_compat_part_2.patch + "${FILESDIR}/${PN}"-1.6.5-llvm_13_compat_part_3.patch "${FILESDIR}/${PN}"-1.6.5-llvm_13_compat_part_4.patch - "${FILESDIR}/${PN}"-1.7.0-libgit-1.2.patch - "${FILESDIR}/${PN}"-1.7.0-make-install-no-build.patch + "${FILESDIR}/${PN}"-1.6.5-libgit-1.2.patch + "${FILESDIR}/${PN}"-1.6.5-make-install-no-build.patch "${FILESDIR}/${PN}"-1.6.5-hardcoded-libs.patch "${FILESDIR}/${PN}"-1.6.5-do_not_set_rpath.patch "${FILESDIR}/${PN}"-1.6.5-lazy_artifacts_fix.patch diff --git a/dev-lang/julia/julia-1.7.0.ebuild b/dev-lang/julia/julia-1.7.0.ebuild deleted file mode 100644 index 57c446a0e3ab..000000000000 --- a/dev-lang/julia/julia-1.7.0.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit llvm pax-utils toolchain-funcs - -# correct versions for stdlibs are in deps/checksums -# for everything else, run with network-sandbox and wait for the crash - -MY_LLVM_V="13.0.1" - -DESCRIPTION="High-performance programming language for technical computing" -HOMEPAGE="https://julialang.org/" - -SRC_URI=" - https://github.com/JuliaLang/julia/releases/download/v${PV}/${P}-full.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+system-llvm" - -RDEPEND=" - system-llvm? ( sys-devel/llvm:13=[llvm_targets_NVPTX(-)] ) -" -LLVM_MAX_SLOT=13 - -RDEPEND+=" - app-arch/p7zip - dev-libs/gmp:0= - dev-libs/libgit2:0 - >=dev-libs/libpcre2-10.23:0=[jit,unicode] - dev-libs/mpfr:0= - dev-libs/libutf8proc:0=[-cjk] - dev-util/patchelf - >=net-libs/mbedtls-2.2 - net-misc/curl[http2,ssh] - sci-libs/amd:0= - sci-libs/arpack:0= - sci-libs/camd:0= - sci-libs/ccolamd:0= - sci-libs/cholmod:0= - sci-libs/colamd:0= - sci-libs/fftw:3.0=[threads] - sci-libs/openlibm:0= - sci-libs/spqr:0= - sci-libs/umfpack:0= - >=sci-mathematics/dsfmt-2.2.4 - >=sys-libs/libunwind-1.1:0= - sys-libs/zlib:0= - >=virtual/blas-3.6 - virtual/lapack" - -DEPEND="${RDEPEND} - dev-util/patchelf - virtual/pkgconfig - !system-llvm? ( dev-util/cmake )" - -PATCHES=( - "${FILESDIR}/${PN}"-1.4.0-no_symlink_llvm.patch - "${FILESDIR}/${PN}"-1.7.0-llvm_13_compat_part_1.patch - "${FILESDIR}/${PN}"-1.7.0-llvm_13_compat_part_2.patch - "${FILESDIR}/${PN}"-1.7.0-llvm_13_compat_part_3.patch - "${FILESDIR}/${PN}"-1.7.0-libgit-1.2.patch - "${FILESDIR}/${PN}"-1.7.0-make-install-no-build.patch - "${FILESDIR}/${PN}"-1.7.0-hardcoded-libs.patch - "${FILESDIR}/${PN}"-1.7.0-do_not_set_rpath.patch -) - # just remove patchelf from linux ?? just my own solution to sigsegv error ?? - #"${FILESDIR}/${PN}"-turnoff-patchelf.patch - -pkg_setup() { - use system-llvm && llvm_pkg_setup -} - -src_unpack() { - local tounpack=(${A}) - # the main source tree, followed by deps - unpack "${tounpack[0]}" - - mkdir -p "${S}/deps/srccache/" - for i in "${tounpack[@]:1}"; do - cp "${DISTDIR}/${i}" "${S}/deps/srccache/${i#julia-}" || die - done -} - -src_prepare() { - default - - # Sledgehammer: - # - prevent fetching of bundled stuff in compile and install phase - # - respect CFLAGS - # - respect EPREFIX and Gentoo specific paths - - sed -i \ - -e "\|SHIPFLAGS :=|c\\SHIPFLAGS := ${CFLAGS}" \ - Make.inc || die - - sed -i \ - -e "s|ar -rcs|$(tc-getAR) -rcs|g" \ - src/Makefile || die - - # disable doc install starting git fetching - sed -i -e 's~install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html~install: $(build_depsbindir)/stringreplace~' Makefile || die -} - -src_configure() { - use system-llvm && ewarn "You have enabled system-llvm. This is unsupported by upstream and may not work." - - # julia does not play well with the system versions of libuv - # USE_SYSTEM_LIBM=0 implies using external openlibm - cat <<-EOF > Make.user - LOCALBASE:="${EPREFIX}/usr" - override prefix:="${EPREFIX}/usr" - override libdir:="\$(prefix)/$(get_libdir)" - override CC:=$(tc-getCC) - override CXX:=$(tc-getCXX) - override AR:=$(tc-getAR) - - BUNDLE_DEBUG_LIBS:=0 - USE_BINARYBUILDER:=0 - USE_SYSTEM_CSL:=1 - USE_SYSTEM_LLVM:=$(usex system-llvm 1 0) - USE_SYSTEM_LIBUNWIND:=1 - USE_SYSTEM_PCRE:=1 - USE_SYSTEM_LIBM:=0 - USE_SYSTEM_OPENLIBM:=1 - USE_SYSTEM_DSFMT:=1 - USE_SYSTEM_BLAS:=1 - USE_SYSTEM_LAPACK:=1 - USE_SYSTEM_GMP:=1 - USE_SYSTEM_MPFR:=1 - USE_SYSTEM_SUITESPARSE:=1 - USE_SYSTEM_LIBUV:=0 - USE_SYSTEM_UTF8PROC:=1 - USE_SYSTEM_MBEDTLS:=1 - USE_SYSTEM_LIBSSH2:=1 - USE_SYSTEM_NGHTTP2:=1 - USE_SYSTEM_CURL:=1 - USE_SYSTEM_LIBGIT2:=1 - USE_SYSTEM_PATCHELF:=1 - USE_SYSTEM_ZLIB:=1 - USE_SYSTEM_P7ZIP:=1 - VERBOSE:=1 - EOF -} - -src_compile() { - # Julia accesses /proc/self/mem on Linux - addpredict /proc/self/mem - - default - pax-mark m "$(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}')" -} - -src_install() { - emake install DESTDIR="${D}" - - if ! use system-llvm ; then - local llvmslot=$(ver_cut 1 ${MY_LLVM_V}) - cp "${S}/usr/lib/libLLVM-${llvmslot}jl.so" "${ED}/usr/$(get_libdir)/julia/" || die - fi - - dodoc README.md - - mv "${ED}"/usr/etc/julia "${ED}"/etc || die - rmdir "${ED}"/usr/etc || die - mv "${ED}"/usr/share/doc/julia/html "${ED}"/usr/share/doc/"${PF}" || die - rmdir "${ED}"/usr/share/doc/julia || die - - # The appdata directory is deprecated. - mv "${ED}"/usr/share/{appdata,metainfo}/ || die -} - -pkg_postinst() { - elog "To use Plots, you will need to install sci-visualization/gr." -} diff --git a/dev-lang/julia/julia-1.7.1.ebuild b/dev-lang/julia/julia-1.7.1-r2.ebuild index fad64a3a369e..58f9de7db701 100644 --- a/dev-lang/julia/julia-1.7.1.ebuild +++ b/dev-lang/julia/julia-1.7.1-r2.ebuild @@ -8,13 +8,16 @@ inherit llvm pax-utils toolchain-funcs # correct versions for stdlibs are in deps/checksums # for everything else, run with network-sandbox and wait for the crash -MY_LLVM_V="13.0.1" +MY_LLVM_V="13.0.0" DESCRIPTION="High-performance programming language for technical computing" HOMEPAGE="https://julialang.org/" SRC_URI=" https://github.com/JuliaLang/julia/releases/download/v${PV}/${P}-full.tar.gz + https://github.com/JuliaLang/julia/commit/1eb063f1.patch -> ${PN}-1.7.1-llvm_13_compat_part_3.patch + https://raw.githubusercontent.com/archlinux/svntogit-community/packages/julia/trunk/f8c918b0.patch -> ${PN}-1.7.1-llvm_13_compat_part_4.patch + https://raw.githubusercontent.com/archlinux/svntogit-community/packages/julia/trunk/63303980.patch -> ${PN}-1.7.1-llvm_13_compat_part_5.patch " LICENSE="MIT" @@ -33,8 +36,8 @@ RDEPEND+=" dev-libs/libgit2:0 >=dev-libs/libpcre2-10.23:0=[jit,unicode] dev-libs/mpfr:0= - dev-libs/libutf8proc:0=[-cjk] - dev-util/patchelf + >=dev-libs/libutf8proc-2.6.1:0=[-cjk] + >=dev-util/patchelf-0.13 >=net-libs/mbedtls-2.2 net-misc/curl[http2,ssh] sci-libs/amd:0= @@ -54,22 +57,21 @@ RDEPEND+=" virtual/lapack" DEPEND="${RDEPEND} - dev-util/patchelf virtual/pkgconfig !system-llvm? ( dev-util/cmake )" PATCHES=( "${FILESDIR}/${PN}"-1.4.0-no_symlink_llvm.patch - "${FILESDIR}/${PN}"-1.7.0-llvm_13_compat_part_1.patch - "${FILESDIR}/${PN}"-1.7.0-llvm_13_compat_part_2.patch - "${FILESDIR}/${PN}"-1.7.0-llvm_13_compat_part_3.patch - "${FILESDIR}/${PN}"-1.7.0-libgit-1.2.patch - "${FILESDIR}/${PN}"-1.7.0-make-install-no-build.patch - "${FILESDIR}/${PN}"-1.7.0-hardcoded-libs.patch - "${FILESDIR}/${PN}"-1.7.0-do_not_set_rpath.patch + "${FILESDIR}/${PN}"-1.6.5-llvm_13_compat_part_1.patch + "${FILESDIR}/${PN}"-1.6.5-llvm_13_compat_part_2.patch + "${DISTDIR}/${PN}"-1.7.1-llvm_13_compat_part_3.patch + "${DISTDIR}/${PN}"-1.7.1-llvm_13_compat_part_4.patch + "${DISTDIR}/${PN}"-1.7.1-llvm_13_compat_part_5.patch + "${FILESDIR}/${PN}"-1.6.5-libgit-1.2.patch + "${FILESDIR}/${PN}"-1.6.5-make-install-no-build.patch + "${FILESDIR}/${PN}"-1.7.1-hardcoded-libs.patch + "${FILESDIR}/${PN}"-1.7.1-do_not_set_rpath.patch ) - # just remove patchelf from linux ?? just my own solution to sigsegv error ?? - #"${FILESDIR}/${PN}"-turnoff-patchelf.patch pkg_setup() { use system-llvm && llvm_pkg_setup @@ -130,9 +132,10 @@ src_configure() { USE_SYSTEM_DSFMT:=1 USE_SYSTEM_BLAS:=1 USE_SYSTEM_LAPACK:=1 + USE_SYSTEM_LIBBLASTRAMPOLINE:=0 USE_SYSTEM_GMP:=1 USE_SYSTEM_MPFR:=1 - USE_SYSTEM_SUITESPARSE:=1 + USE_SYSTEM_LIBSUITESPARSE:=1 USE_SYSTEM_LIBUV:=0 USE_SYSTEM_UTF8PROC:=1 USE_SYSTEM_MBEDTLS:=1 |