Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
debian-packages
lustre-release
Commits
454cfb40
Commit
454cfb40
authored
20 years ago
by
jacob
Browse files
Options
Downloads
Patches
Plain Diff
b_port_step files
parent
e9a55d03
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/autoconf/lustre-build-darwin.m4
+18
-1
18 additions, 1 deletion
build/autoconf/lustre-build-darwin.m4
build/autoconf/lustre-build.m4
+8
-5
8 additions, 5 deletions
build/autoconf/lustre-build.m4
with
26 additions
and
6 deletions
build/autoconf/lustre-build-darwin.m4
+
18
−
1
View file @
454cfb40
...
...
@@ -13,5 +13,22 @@ AC_DEFUN([LB_DARWIN_CONDITIONALS],
# darwin tests
#
AC_DEFUN([LB_PROG_DARWIN],
[
[kernel_framework="/System/Library/Frameworks/Kernel.framework"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -x c -arch ppc -pipe -Wno-trigraphs"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -fasm-blocks -g -O0 -mtune=G4"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -Wno-four-char-constants -Wmost -O0"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -fmessage-length=0 -ffix-and-continue"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -I$kernel_framework/Headers"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -I$kernel_framework/Headers/bsd"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -I$kernel_framework/PrivateHeaders"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -fno-common -nostdinc -fno-builtin"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -finline -fno-keep-inline-functions"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -force_cpusubtype_ALL -fno-exceptions"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -msoft-float -static -mlong-branch"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -DKERNEL -DKERNEL_PRIVATE"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -DDRIVER_PRIVATE -DAPPLE -DNeXT"
EXTRA_KCFLAGS="$EXTRA_KCFLAGS -D__KERNEL__ -D__DARWIN__"
EXTRA_KLDFLAGS="-arch ppc -static -nostdlib -r"
EXTRA_KLIBS="-lkmodc++ -lkmod -lcc_kext"
KMODEXT=""
])
This diff is collapsed.
Click to expand it.
build/autoconf/lustre-build.m4
+
8
−
5
View file @
454cfb40
...
...
@@ -20,6 +20,7 @@ AC_DEFUN([LB_PATH_LIBSYSIO],
[set path to libsysio source (default is included libsysio)]),
[],[with_sysio='yes'])
AC_MSG_CHECKING([location of libsysio])
enable_sysio="$with_sysio"
case x$with_sysio in
xyes)
AC_MSG_RESULT([internal])
...
...
@@ -39,6 +40,7 @@ case x$with_sysio in
AC_MSG_ERROR([A complete (built) external libsysio was not found.])
])
SYSIO=$with_sysio
enable_sysio="yes"
;;
esac
AC_SUBST(LIBSYSIO_SUBDIR)
...
...
@@ -124,7 +126,7 @@ AC_ARG_ENABLE([modules],
[disable building of Lustre kernel modules]),
[],[
case $target_os in
linux* | darwin)
linux* | darwin
*
)
enable_modules='yes'
;;
*)
...
...
@@ -137,10 +139,12 @@ AC_MSG_RESULT([$enable_modules ($target_os)])
if test x$enable_modules = xyes ; then
case $target_os in
linux*)
LB_PROG_LINUX
LC_LINUX_SUPPORTED([LB_PROG_LINUX],
[AC_MSG_ERROR([Modules are not supported on $target_os])])
;;
darwin)
LB_PROG_DARWIN
darwin*)
LC_DARWIN_SUPPORTED([LB_PROG_DARWIN],
[AC_MSG_ERROR([Modules are not supported on $target_os])])
;;
*)
AC_MSG_ERROR([Modules are not supported on $target_os])
...
...
@@ -276,7 +280,6 @@ LC_PATH_DEFAULTS
#
AC_DEFUN([LB_PROG_CC],
[AC_PROG_RANLIB
AC_PROG_CC
AC_MSG_CHECKING([for buggy compiler])
CC_VERSION=`$CC -v 2>&1 | grep "^gcc version"`
bad_cc() {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment