Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prod_build_cellframe-node
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
cellframe
prod_build_cellframe-node
Commits
f9dcfa08
Commit
f9dcfa08
authored
2 years ago
by
dpuzyrkov
Browse files
Options
Downloads
Patches
Plain Diff
[*] osxcross target fix.
parent
0382a0e8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
targets/osx.sh
+8
-25
8 additions, 25 deletions
targets/osx.sh
with
8 additions
and
25 deletions
targets/osx.sh
+
8
−
25
View file @
f9dcfa08
...
@@ -30,32 +30,15 @@ echo "Using QT ${OSXCROSS_QT_VERSION} from ${OSXCROSS_QT_ROOT}/${OSXCROSS_QT_VER
...
@@ -30,32 +30,15 @@ echo "Using QT ${OSXCROSS_QT_VERSION} from ${OSXCROSS_QT_ROOT}/${OSXCROSS_QT_VER
[
!
-d
${
OSXCROSS_QT_ROOT
}
/
${
OSXCROSS_QT_VERSION
}
]
&&
{
echo
"No QT
${
OSXCROSS_QT_VERSION
}
found in
${
OSXCROSS_QT_ROOT
}
"
&&
exit
255
;
}
[
!
-d
${
OSXCROSS_QT_ROOT
}
/
${
OSXCROSS_QT_VERSION
}
]
&&
{
echo
"No QT
${
OSXCROSS_QT_VERSION
}
found in
${
OSXCROSS_QT_ROOT
}
"
&&
exit
255
;
}
#define QMAKE & MAKE commands for build.sh script
$(
${
OSXCROSS_ROOT
}
/bin/osxcross-conf
)
export
OSXCROSS_VERSION
=
1.4
export
OSXCROSS_OSX_VERSION_MIN
=
10.9
export
OSXCROSS_TARGET
=
darwin20.4
export
OSXCROSS_HOST
=
x86_64-apple-darwin20.4
export
OSXCROSS_BASE_DIR
=
/osxcross/build/..
CMAKE
=(
cmake
-DCMAKE_TOOLCHAIN_FILE
=
${
OSXCROSS_ROOT
}
/toolchain.cmake
)
export
OSXCROSS_SDK
=
/opt/osxcross/bin/../SDK/MacOSX11.3.sdk
export
OSXCROSS_SDK_DIR
=
/opt/osxcross/bin/../SDK/MacOSX11.3.sdk/..
##everything else can be done by default make
export
OSXCROSS_SDK_VERSION
=
11.3
export
OSXCROSS_TARBALL_DIR
=
/osxcross/build/../tarballs
export
OSXCROSS_PATCH_DIR
=
/osxcross/build/../patches
export
OSXCROSS_TARGET_DIR
=
/opt/osxcross/bin/..
export
OSXCROSS_DIR_SDK_TOOLS
=
/opt/osxcross/bin/../SDK/MacOSX11.3.sdk/../tools
export
OSXCROSS_BUILD_DIR
=
/osxcross/build
export
OSXCROSS_CCTOOLS_PATH
=
/opt/osxcross/bin
export
OSXCROSS_LIBLTO_PATH
=
/usr/lib/llvm-11/lib
export
OSXCROSS_LINKER_VERSION
=
609
export
PATH
=
/opt/osxcross//bin:/opt/osxcross//bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/osxcross/bin
export
CC
=
${
OSXCROSS_ROOT
}
/bin/x86_64-apple-darwin20.4-clang
export
CXX
=
${
OSXCROSS_ROOT
}
bin/x86_64-apple-darwin20.4-clang++
CMAKE
=(
cmake
)
#everything else can be done by default make
MAKE
=(
make
)
MAKE
=(
make
)
echo
"OSXcross target"
echo
"OSXcross target"
echo
"
Q
MAKE=
${
CMAKE
[@]
}
"
echo
"
C
MAKE=
${
CMAKE
[@]
}
"
echo
"MAKE=
${
MAKE
[@]
}
"
echo
"MAKE=
${
MAKE
[@]
}
"
\ No newline at end of file
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