Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
761fef95
Commit
761fef95
authored
Nov 25, 2021
by
Thibaut ROMAIN
Browse files
BUG: try building sqlite in a cleaner way for windows
parent
18b24aeb
Pipeline
#9192
canceled with stages
in 11 minutes and 50 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
761fef95
...
...
@@ -112,20 +112,20 @@ stages:
-
build/*/*/*/*.cmake
#-------------------------- precheck job ---------------------------------------
fast-build
:
extends
:
.common
only
:
-
merge_requests
-
branches
stage
:
precheck
image
:
$BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
before_script
:
-
export GIT_LFS_SKIP_SMUDGE=1
-
git checkout -f -q $CI_COMMIT_SHA
-
python3 CI/check_twin_pipelines.py
script
:
-
ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
-
ccache -s
#
fast-build:
#
extends: .common
#
only:
#
- merge_requests
#
- branches
#
stage: precheck
#
image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
#
before_script:
#
- export GIT_LFS_SKIP_SMUDGE=1
#
- git checkout -f -q $CI_COMMIT_SHA
#
- python3 CI/check_twin_pipelines.py
#
script:
#
- ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
#
- ccache -s
legal-check
:
extends
:
.common
...
...
SuperBuild/patches/SQLITE/CMakeLists.txt
View file @
761fef95
...
...
@@ -30,9 +30,9 @@ add_definitions(-DSQLITE_ENABLE_RTREE=1)
add_definitions
(
-DSQLITE_OMIT_LOAD_EXTENSION=1
)
add_definitions
(
-DSQLITE_THREADSAFE=1
)
add_library
(
sqlite3 sqlite3
_win
.c
)
add_library
(
sqlite3 sqlite3.c
)
add_executable
(
sqlite3-bin shell.c
)
add_executable
(
sqlite3-bin shell.c
sqlite3.c
)
target_link_libraries
(
sqlite3-bin sqlite3
)
set_target_properties
(
sqlite3-bin PROPERTIES OUTPUT_NAME sqlite3
)
...
...
SuperBuild/patches/SQLITE/sqlite3_win.c
deleted
100644 → 0
View file @
18b24aeb
#if defined (WIN32)
#define SQLITE_API __declspec(dllexport)
#endif
#include
"sqlite3.c"
Write
Preview
Supports
Markdown
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