Shaun Jackman
ad7323bd61
Hardware::CPU: Add Skylake [Linux]
2018-10-03 11:41:39 -07:00
Shaun Jackman
fdcdf7cb5c
CoreTap.default_remote: Use Linuxbrew/core [Linux]
2018-10-02 15:44:30 -07:00
Shaun Jackman
afa975bf26
keg_relocate: Fix Error: wrong number of arguments [Linux]
...
Fix the error:
Error: wrong number of arguments (given 1, expected 2)
/projects/btl_scratch/sjackman/brew/Homebrew/Library/Homebrew/exceptions.rb:550:in `block in initialize'
/projects/btl_scratch/sjackman/brew/Homebrew/Library/Homebrew/exceptions.rb:559:in `map'
2018-10-02 15:16:32 -07:00
Shaun Jackman
447baab9a0
DevelopmentTools::locate: Prefer brewed tools [Linux]
2018-10-01 15:34:47 -07:00
Shaun Jackman
1cdc34eec3
Default compiler is gcc on Linux
2018-09-30 11:20:35 -07:00
Shaun Jackman
c0f07db656
Symlink ld.so [Linux]
2018-09-28 14:01:09 -07:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Mike McQuaid
955214abc0
Use ActiveSupport Object#blank? and #present?
2018-09-14 17:02:19 +01:00
Shaun Jackman
5cbddd2aca
LinkageChecker: Report linkage of unwanted system libraries [Linux]
...
gcc and glibc are implicit dependencies on Linux.
No other linkage to system libraries is expected or desired.
2018-09-05 15:32:06 -07:00
Michka Popoff
b7b5fb930d
superenv: Use 02 optimization flag for Linux builds
...
`-Os` produces sometimes bigger binaries on Linux.
Also, llvm built with `-Os` is really slow at runtime for Linux.
Using `-02` aligns us with what Debian does, and as we are compiling most of our stuff with gcc (and not clang), it makes sense to use `-02` on Linux.
`-Os` does probably slightly different things when used on mac with llvm, compared to when it is used with gcc on Linux.
2018-08-29 13:40:39 +02:00
Shaun Jackman
294db31849
BottleSpecification: Do not skip bottle relocation on Linux
...
Bottles must be relocated on Linux to find the brewed glibc and gcc.
2018-08-15 10:23:55 -07:00
Shaun Jackman
27fb8befd0
check_non_libraries: *.so.* is valid on Linux
2018-08-14 14:50:10 -07:00
Shaun Jackman
4adbfa3fcf
Check that HOMEBREW_TEMP permits executing programs
2018-08-14 11:51:18 -07:00
Markus Reiter
2712fcaa67
Use interleaved output for ErrorDuringExecution
.
2018-07-19 16:53:11 +02:00
Markus Reiter
2452b27866
Refactor ErrorDuringExecution
.
2018-07-19 16:41:27 +02:00
Mike McQuaid
cc554c4ba1
extend/os/linux/hardware/cpu: return :dunno more often.
...
This matches the behaviour described in the test and on macOS.
2018-07-13 08:54:47 +01:00
Shaun Jackman
1b688a3a25
Relocate bottles on Linux using patchelf
...
Ensure patchelf is installed to pour bottles and build bottles.
2018-07-12 10:21:26 -07:00
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