Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
876ff885
Commit
876ff885
authored
Mar 27, 2021
by
saltedcoffii
Committed by
GitHub
Mar 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert CREW_BUILD autodetect (#5494)
parent
487f224a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lib/const.rb
lib/const.rb
+4
-2
No files found.
lib/const.rb
View file @
876ff885
# Defines common constants used in different parts of crew
# Defines common constants used in different parts of crew
CREW_VERSION
=
'1.7.1
7
'
CREW_VERSION
=
'1.7.1
8
'
ARCH_ACTUAL
=
`uname -m`
.
strip
ARCH_ACTUAL
=
`uname -m`
.
strip
# This helps with virtualized builds on aarch64 machines
# This helps with virtualized builds on aarch64 machines
...
@@ -63,13 +63,15 @@ CHROMEOS_RELEASE = `grep CHROMEOS_RELEASE_CHROME_MILESTONE= /etc/lsb-release | c
...
@@ -63,13 +63,15 @@ CHROMEOS_RELEASE = `grep CHROMEOS_RELEASE_CHROME_MILESTONE= /etc/lsb-release | c
case
ARCH
case
ARCH
when
'aarch64'
,
'armv7l'
when
'aarch64'
,
'armv7l'
CREW_TGT
=
'armv7l-cros-linux-gnueabihf'
CREW_TGT
=
'armv7l-cros-linux-gnueabihf'
CREW_BUILD
=
'armv7l-cros-linux-gnueabihf'
when
'i686'
when
'i686'
CREW_TGT
=
'i686-cros-linux-gnu'
CREW_TGT
=
'i686-cros-linux-gnu'
CREW_BUILD
=
'i686-cros-linux-gnu'
when
'x86_64'
when
'x86_64'
CREW_TGT
=
'x86_64-cros-linux-gnu'
CREW_TGT
=
'x86_64-cros-linux-gnu'
CREW_BUILD
=
'x86_64-cros-linux-gnu'
end
end
CREW_BUILD
=
`
#{
CREW_PREFIX
}
/share/automake-*/config.guess`
.
strip
# strip to remove newline
CREW_OPTIONS
=
"--prefix=
#{
CREW_PREFIX
}
--libdir=
#{
CREW_LIB_PREFIX
}
--mandir=
#{
CREW_MAN_PREFIX
}
--build=
#{
CREW_BUILD
}
--host=
#{
CREW_TGT
}
--target=
#{
CREW_TGT
}
--program-prefix='' --program-suffix=''"
CREW_OPTIONS
=
"--prefix=
#{
CREW_PREFIX
}
--libdir=
#{
CREW_LIB_PREFIX
}
--mandir=
#{
CREW_MAN_PREFIX
}
--build=
#{
CREW_BUILD
}
--host=
#{
CREW_TGT
}
--target=
#{
CREW_TGT
}
--program-prefix='' --program-suffix=''"
CREW_MESON_OPTIONS
=
"-Dprefix=
#{
CREW_PREFIX
}
-Dlibdir=
#{
CREW_LIB_PREFIX
}
-Dmandir=
#{
CREW_MAN_PREFIX
}
-Dbuildtype=release -Dc_args='-fuse-ld=lld -pipe' -Dcpp_args='-fuse-ld=lld -pipe'"
CREW_MESON_OPTIONS
=
"-Dprefix=
#{
CREW_PREFIX
}
-Dlibdir=
#{
CREW_LIB_PREFIX
}
-Dmandir=
#{
CREW_MAN_PREFIX
}
-Dbuildtype=release -Dc_args='-fuse-ld=lld -pipe' -Dcpp_args='-fuse-ld=lld -pipe'"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment