Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Testicular Slingshot
Alchemy Viewer
Commits
e02bf8f9
Commit
e02bf8f9
authored
12 years ago
by
Oz Linden
Browse files
Options
Downloads
Patches
Plain Diff
add dictionaries to the Hunspell.cmake so that it gets installed
parent
5ca8e138
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.sh
+13
-14
13 additions, 14 deletions
build.sh
indra/cmake/Hunspell.cmake
+1
-0
1 addition, 0 deletions
indra/cmake/Hunspell.cmake
with
14 additions
and
14 deletions
build.sh
+
13
−
14
View file @
e02bf8f9
...
...
@@ -15,6 +15,12 @@
# * The basic convention is that the build name can be mapped onto a mercurial URL,
# which is also used as the "branch" name.
check_for
()
{
if
[
-e
"
$2
"
]
;
then
found_dict
=
'FOUND'
;
else
found_dict
=
'MISSING'
;
fi
echo
"
$1
${
found_dict
}
'
$2
' "
1>&2
}
build_dir_Darwin
()
{
echo
build-darwin-i386
...
...
@@ -59,8 +65,7 @@ pre_build()
&&
[
-r
"
$master_message_template_checkout
/message_template.msg"
]
\
&&
template_verifier_master_url
=
"-DTEMPLATE_VERIFIER_MASTER_URL=file://
$master_message_template_checkout
/message_template.msg"
echo
-n
"Before 'autobuild configure'
${
build_dir
}
/packages/dictionaries "
1>&2
(
test
-d
"
${
build_dir
}
/packages/dictionaries"
&&
'found'
||
echo
'missing'
)
1>&2
check_for
"Before 'autobuild configure'"
${
build_dir
}
/packages/dictionaries
"
$AUTOBUILD
"
configure
-c
$variant
--
\
-DPACKAGE
:BOOL
=
ON
\
...
...
@@ -71,10 +76,9 @@ pre_build()
-DLL_TESTS
:BOOL
=
"
$run_tests
"
\
-DTEMPLATE_VERIFIER_OPTIONS
:STRING
=
"
$template_verifier_options
"
$template_verifier_master_url
echo
-n
"After 'autobuild configure'
${
build_dir
}
/packages/dictionaries "
1>&2
(
test
-d
"
${
build_dir
}
/packages/dictionaries"
&&
'found'
||
echo
'missing'
)
1>&2
check_for
"After 'autobuild configure'"
${
build_dir
}
/packages/dictionaries
end_section
"Pre
$variant
"
end_section
"Pre
$variant
"
}
build
()
...
...
@@ -84,8 +88,7 @@ build()
then
begin_section
"Viewer
$variant
"
echo
-n
"Before 'autobuild build'
${
build_dir
}
/packages/dictionaries "
1>&2
(
test
-d
"
${
build_dir
}
/packages/dictionaries"
&&
'found'
||
echo
'missing'
)
1>&2
check_for
"Before 'autobuild build'"
${
build_dir
}
/packages/dictionaries
if
"
$AUTOBUILD
"
build
--no-configure
-c
$variant
then
...
...
@@ -93,8 +96,7 @@ build()
else
echo false
>
"
$build_dir
"
/build_ok
fi
echo
-n
"After 'autobuild build'
${
build_dir
}
/packages/dictionaries "
1>&2
(
test
-d
"
${
build_dir
}
/packages/dictionaries"
&&
'found'
||
echo
'missing'
)
1>&2
check_for
"After 'autobuild configure'"
${
build_dir
}
/packages/dictionaries
end_section
"Viewer
$variant
"
fi
...
...
@@ -190,15 +192,12 @@ eval "$("$AUTOBUILD" source_environment)"
# dump environment variables for debugging
env
|sort
echo
-n
"Before 'autobuild install'
${
build_dir
}
/packages/dictionaries "
1>&2
(
test
-d
"
${
build_dir
}
/packages/dictionaries"
&&
'found'
||
echo
'missing'
)
1>&2
check_for
"Before 'autobuild install'"
${
build_dir
}
/packages/dictionaries
# Install packages.
"
$AUTOBUILD
"
install
--skip-license-check
echo
-n
"After 'autobuild install'
${
build_dir
}
/packages/dictionaries "
1>&2
(
test
-d
"
${
build_dir
}
/packages/dictionaries"
&&
'found'
||
echo
'missing'
)
1>&2
check_for
"After 'autobuild install'"
${
build_dir
}
/packages/dictionaries
# Now run the build
succeeded
=
true
...
...
This diff is collapsed.
Click to expand it.
indra/cmake/Hunspell.cmake
+
1
−
0
View file @
e02bf8f9
...
...
@@ -8,6 +8,7 @@ if (STANDALONE)
include
(
FindHUNSPELL
)
else
(
STANDALONE
)
use_prebuilt_binary
(
libhunspell
)
use_prebuilt_binary
(
dictionaries
)
if
(
WINDOWS
)
set
(
HUNSPELL_LIBRARY libhunspell
)
set
(
HUNSPELL_INCLUDE_DIRS
${
LIBS_PREBUILT_DIR
}
/include/hunspell
)
...
...
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