Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210360228
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2021
210360228
Commits
4ba8adbe
Unverified
Commit
4ba8adbe
authored
3 years ago
by
laura-ding
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix package error when cmake version less than 3.13 (#974)
Co-authored-by:
Yee
<
2520865+yixinglu@users.noreply.github.com
>
parent
32b46146
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/package.sh
+8
-6
8 additions, 6 deletions
package/package.sh
with
8 additions
and
6 deletions
package/package.sh
+
8
−
6
View file @
4ba8adbe
...
...
@@ -88,6 +88,7 @@ function _build_storage {
git clone
--single-branch
--branch
${
branch
}
https://github.com/vesoft-inc/nebula-storage.git
${
storage_dir
}
fi
pushd
${
storage_build_dir
}
cmake
-DCMAKE_BUILD_TYPE
=
${
build_type
}
\
-DNEBULA_BUILD_VERSION
=
${
version
}
\
-DENABLE_ASAN
=
${
san
}
\
...
...
@@ -98,17 +99,18 @@ function _build_storage {
-DNEBULA_COMMON_REPO_TAG
=
${
branch
}
\
-DENABLE_TESTING
=
OFF
\
-DENABLE_PACK_ONE
=
${
package_one
}
\
-S
${
storage_dir
}
\
-B
${
storage_build_dir
}
${
storage_dir
}
if
!
(
c
make
--build
${
storage_build_dir
}
-j
${
jobs
}
)
;
then
if
!
(
make
-j
${
jobs
}
)
;
then
echo
">>> build nebula storage failed <<<"
exit
1
fi
popd
echo
">>> build nebula storage successfully <<<"
}
function
_build_graph
{
pushd
${
build_dir
}
cmake
-DCMAKE_BUILD_TYPE
=
${
build_type
}
\
-DNEBULA_BUILD_VERSION
=
${
version
}
\
-DENABLE_ASAN
=
${
san
}
\
...
...
@@ -120,13 +122,13 @@ function _build_graph {
-DENABLE_TESTING
=
OFF
\
-DENABLE_BUILD_STORAGE
=
OFF
\
-DENABLE_PACK_ONE
=
${
package_one
}
\
-S
${
project_dir
}
\
-B
${
build_dir
}
${
project_dir
}
if
!
(
c
make
--build
${
build_dir
}
-j
${
jobs
}
)
;
then
if
!
(
make
-j
${
jobs
}
)
;
then
echo
">>> build nebula graph failed <<<"
exit
1
fi
popd
echo
">>> build nebula graph successfully <<<"
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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