EricFromCanada
b817796562
Grammar fixes for status messages
2019-12-02 11:38:06 -05:00
EricFromCanada
9bfd597991
Format debug messages with odebug
2019-12-02 11:33:19 -05:00
Mike McQuaid
ea44760f8c
os/mac/xcode: add additional CLT download link.
...
Sadly Apple don't seem to be providing these reliably.
Fixes #6796
2019-12-02 13:25:43 +00:00
Grant Guthrie
178a4e55c2
Remove STANDARD_COMPILERS & references to it
2019-11-27 15:38:11 -05:00
Alexander Bayandin
43687b46c3
Bump Xcode to 11.2.1
2019-11-13 17:13:45 +00:00
Mike McQuaid
5595deaec6
os/mac: remove MacOS.cat.
...
None of the supported versions are "cats" any more.
2019-11-11 19:20:17 +00:00
Mike McQuaid
aae9d39939
os/mac/xcode: fallback to clang version for detecting CLT.
...
For some reason `pkgutil --pkgs` no longer lists the CLT after the
Catalina supplemental update.
Fixes https://github.com/Homebrew/brew/issues/6610
2019-10-16 16:26:57 +01:00
Issy Long
b87782ef7d
Auto-fix Style/UnpackFirst offenses
2019-10-13 16:04:34 +01:00
Mike McQuaid
29ab0ed571
Merge pull request #6500 from fxcoudert/catalina
...
os/mac: support Catalina, drop Sierra
2019-10-08 09:50:47 +01:00
Mike McQuaid
972b0aa17f
os/mac/xcode: bump Catalina Xcode versions.
2019-10-08 09:31:07 +01:00
Dawid Dziurla
8ff7601a92
define default prefix constants
...
also use them to detect if prefix line in bottle block is needed
2019-09-30 16:46:53 +02:00
FX Coudert
26ac1b6906
os/mac: support Catalina, drop Sierra
2019-09-28 10:39:57 +02:00
Mike McQuaid
47769f98f1
os/linux: add, use OS::Linux.os_version
...
Similar to MacOS.version. A bit cleaner for us here but also plan on
using this in Homebrew/homebrew-bundle.
2019-09-13 16:48:13 +01:00
Jonathan Chang
7ddc185b35
Fix various typos
2019-08-19 16:12:34 +10:00
Cheng XU
2c82623318
keg_relocate: relocate the interpreter for elf files with INTERP header (Linux)
...
Some elf files (e.g. created by rust compiler) have INTERP header despite
their magic header denotes shared object instead of executable.
We should relocate the interpreter elf files as long as they have INTERP header.
This should fix the broken bottles for rust based formulae.
2019-07-18 15:22:43 +08:00
Cheng XU
3ab93b6e2b
elf: fix caching of dynamic_elf?
2019-07-18 15:22:43 +08:00
Chongyu Zhu
80230eccf7
Merge pull request #6210 from lembacon/pkg-config-catalina
...
pkg-config: add initial support for macOS Catalina
2019-06-05 11:00:41 -07:00
Chongyu Zhu
629c319dc4
pkg-config: add initial support for macOS Catalina
2019-06-04 16:30:17 -07:00
Chongyu Zhu
2a5aee0a0b
xcode: add initial support for Xcode 11.0
2019-06-04 16:11:18 -07:00
Misty De Meo
1495cdbf8f
macOS Catalina
2019-06-03 11:45:08 -07:00
Tom Schoonjans
36203dd1ef
pkgconfig: add uuid.pc
...
The util-linux uuid library is provided by macOS, through its header at
/usr/include/uuid/uuid.h, and implementation included in libSystem.B.dylib
2019-05-12 07:43:23 +01:00
Mike McQuaid
01a3425502
Require Xcode 10.2 on macOS 10.14
...
Xcode >=10.2 is required to build all Swift formulae on macOS >=10.14.4.
Rather than requiring per-formula workarounds
(e.g. Homebrew/homebrew-core#39446 ) this provides a more stable platform
Homebrew can rely on for building Swift formulae.
2019-05-01 09:06:41 +01:00
Chongyu Zhu
aea2804442
xcode: upgrade for Xcode 10.2.1 release
2019-04-24 22:48:00 +08:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
d1ea6f38d3
Fix mutable constants violations.
2019-04-19 21:46:20 +09:00
EricFromCanada
15c38a2d8b
formatting fixes
2019-04-13 21:29:32 -04:00
Chongyu Zhu
0299790aa7
xcode: upgrade for Xcode 10.2 release
2019-03-28 03:39:23 +08:00
EricFromCanada
4fd398b862
linux.rb: define language/languages methods
2019-03-26 17:14:12 -04:00
William Woodruff
a8c4136e9e
os/mac: Use delegation for Mach-O methods
2019-03-10 21:07:05 -04:00
William Woodruff
54aca0d14f
os/mac: Flush RPATHs from Mach-Os when possible
2019-03-10 21:07:04 -04:00
William Woodruff
618c5cd01a
os/mac: Expose rpaths
2019-03-10 21:07:03 -04:00
Michka Popoff
5c068ef82c
elf.rb: avoid corrupted elf files
...
Some elf files like unittest files or memory dumps may not be completely
readable by readelf.
Readelf will fail after the following message:
readelf: Warning: possibly corrupt ELF header - it has a non-zero program header offset, but no program headers
This patches avoid these files when there is a non zero offset but no
program headers
2019-03-09 17:16:36 +01:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause.
2019-02-21 12:55:49 +00:00
Mike McQuaid
d64429a736
rubocop: enable Style/IfUnlessModifier.
2019-02-21 12:55:49 +00:00
Mike McQuaid
28fa8a7c97
version: add CPU tests.
...
Add a new API inspired by discussion in
https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given
CPU option is supported by a version of macOS.
2019-01-28 19:31:21 +00:00
Mike McQuaid
1aa8ad09e2
Deprecate macOS versions below Mavericks
...
And remove all dead/unneeded code.
2019-01-27 12:27:47 +00:00
Mike McQuaid
234e4aec96
Improve use of default_prefix? in tests.
2019-01-21 14:33:56 +00:00
Mike McQuaid
902e058f3e
Merge pull request #5501 from indirect/indirect/future-sdks
...
Treat future SDKs as "latest"
2019-01-21 10:32:36 +00:00
Mike McQuaid
170c5493a4
Update deprecations
...
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Andre Arko
e63eff2201
Treat future SDKs as "latest"
...
Some SDKs return a number higher than the hard-coded `latest_version`
in this file. With the current `==` check, those higher version numbers
are treated as "not the latest". This prevents machines with
higher-versioned SDKs from being able to use Homebrew.
To resolve that problem, this PR changes the check to `>=`, which allows
machines with higher-versioned SDKs to also use Homebrew to install
packages.
2019-01-08 00:26:22 -08:00
Shaun Jackman
9ef010738f
needed_libraries: Fix cannot find section .dynamic
...
Fix the error `cannot find section .dynamic` when needed_libraries is
called on a static ELF executable.
2019-01-02 12:34:16 -08:00
Jonathan Chang
03597404af
os: add version info for kernel and glibc [Linux]
2019-01-01 16:10:43 -08:00
Chongyu Zhu
d66c7ef973
xcode: upgrade for Xcode 10.1 release
...
The version of CLT package that comes with Xcode 10.1 is 1000.10.44.4,
which could be bumped at a later date since the Software Update is not
reliable at this moment.
2018-11-05 12:41:51 +08:00
Mike McQuaid
737b84b54b
brew style --fix
fixes.
2018-11-02 17:29:23 +00:00
Mike McQuaid
51af87f85f
Add HOMEBREW_FORCE_HOMEBREW_ON_LINUX
...
This serves a similar purpose to the HOMEBREW_FORCE_HOMEBREW_ORG
variable but applies to more settings.
2018-10-20 13:58:27 +01:00
EricFromCanada
20167e5f1b
Adjust comments to tidy API docs output.
2018-10-18 21:42:43 -04:00
Chongyu Zhu
c6a2e280a2
xcode: fix expected Clang version for CLT with Xcode 10 (10A255)
2018-10-02 02:51:29 +08:00
Mike McQuaid
b94a19af60
xcode: note CLT is now updated in System Preferences.
...
This should avoid some confusion.
2018-09-30 16:58:53 +01:00
Mike McQuaid
6017e505a4
Merge pull request #4936 from lembacon/mojave-clang-version
...
xcode: update expected version on High Sierra and Mojave with Xcode 10 (10A255)
2018-09-30 12:21:37 +01:00
FX Coudert
0967c3e549
os/mac: support Mojave, drop El Capitan
2018-09-20 12:52:37 +02:00