Shaun Jackman
9f8f8ffb89
superenv: Move Linux-specific bits to extend/os/
2018-05-30 14:00:26 -07:00
Shaun Jackman
76bfd0cecb
Add superenv for Linux
2018-05-18 16:58:21 -07:00
Maxim Belkin
e5435dfeb7
Cross-platform diagnostics.
2018-05-14 04:44:15 -05:00
Mike McQuaid
e03f07f302
Rubocop 0.53.0 automatic fixes.
2018-03-08 14:10:02 +00:00
Mike McQuaid
e5c82dd3d9
Deprecate requirements harder
...
Remove more Requirement logic to enable future removal of default
formula logic. Also, output deprecations, convert symbol requirement
usage to deps and simplify the compatibility code for the direct
Requirement usage.
2018-01-18 08:31:20 +00:00
Shaun Jackman
0575d7b610
config: Print host glibc version [Linux]
2017-12-07 10:37:19 -08:00
Shaun Jackman
e5847b652f
extend/pathname: Add os/linux/elf.rb
2017-12-03 16:22:51 -08:00
Mike McQuaid
d0e893fab6
Merge pull request #3516 from sjackman/system-config-version
...
config: Print the linked_version [Linux]
2017-12-03 09:19:22 +00:00
Shaun Jackman
06b9f1c50d
config: Print the linked_version [Linux]
...
Otherwise when the keg was installed but out-of-date, it would display "N/A".
2017-12-02 09:27:39 -08:00
Shaun Jackman
0ce7a74c58
Hardware::CPU: Implement OS-agnostic methods
2017-12-01 15:18:35 -08:00
Shaun Jackman
7394208873
Cleaner: ELF files are executable on Linux
2017-11-26 08:25:50 -08:00
Maxim Belkin
de0b93f912
pathname: improvements, cleanups, and new methods
...
- atomic_write: close file before renaming to prevent error:
'Device or resource busy'
- ensure_writable: preserve executable bit
- new elf? and dynamic? methods
2017-11-07 14:18:25 -06:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Shaun Jackman
5198e80724
cpu: fix SSE4 detection on Linux
2017-07-22 11:29:19 +02:00
Jonathan Chang
5ab745574c
cpu: fix SSE3 detection on Linux
2017-07-05 13:03:39 -07:00
Bob W. Hogg
e2c707d8b1
Stdenv: Add ENV.libxml2 and ENV.x11 for Linux
...
Add ENV.libxml2 primarily for the use of test do blocks.
Add a dummy ENV.x11 function.
See Linuxbrew/brew#356 and Linuxbrew/brew#382
2017-05-30 10:37:26 -07:00
Bob W. Hogg
608d72a35f
OsxfuseRequirement: Port to Linux
2017-04-15 21:20:09 -07:00
Maxim Belkin
573aeff115
Add Skylake to Linux hardware list
2017-04-02 15:27:19 -07:00
Shaun Jackman
0d5a53ba2c
Add extend/os/linux/system_config.rb
...
Report the Linux kernel, OS, and gcc versions.
2017-03-16 17:59:26 -07:00
Shaun Jackman
c6cbf9590d
linux: Add ARM to CPU.type
2017-03-10 10:30:11 -08:00
Bob W. Hogg
c49b97dd9c
Code review cleanups
2017-02-15 21:47:08 -08:00
Bob W. Hogg
5a214de68d
java_requirement: port to Linux and refactor
...
Split the core requirement class into generic, Linux-specific,
and macOS-specific parts.
Additionally, the Linux version is now able to detect Java versions
(the previous Linuxbrew implementation was only able to detect
if Java was present at all.)
2017-02-15 21:35:26 -08:00
Bob W. Hogg
ebb659af7d
Add Kaby Lake to Linux hardware list
...
Note that no Mac hardware using a Kaby Lake processor has been released
yet, so do not add it to the equivalent list for macOS.
2016-12-18 14:50:38 -08:00
Markus Reiter
e851c9bf6c
Style/Alias: Prefer alias
.
2016-09-23 18:19:53 +02:00
Mike McQuaid
5566757f60
linux/hardware/cpu: import family from Linuxbrew.
2016-07-29 21:21:02 -06:00
Mike McQuaid
11624b9a7d
hardware: move generic logic from linux. ( #454 )
2016-07-06 10:43:54 +01:00
Sebastian Staudt
57bf33302a
extend/os/linux/hardware/cpu: fix typo.
...
CPU was transformed into a class in 8d995e961f549e555f405d2567235dab53f6baad.
2016-05-09 08:41:30 +01:00
Mike McQuaid
8d995e961f
Make hardware code cross-platform.
2016-05-08 16:51:22 +01:00