Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f3f71d1d
Kaydet (Commit)
f3f71d1d
authored
Ock 07, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Drop the check of the SC_BACKGROUND_COMPILATION env var
Change-Id: Ia33002819023c79160d921fbc1cca7a5c12d143a
üst
49bc2ac2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
15 deletions
+8
-15
ucalc.cxx
sc/qa/unit/ucalc.cxx
+0
-2
formulacell.cxx
sc/source/core/data/formulacell.cxx
+6
-10
formulaopt.cxx
sc/source/core/tool/formulaopt.cxx
+2
-3
No files found.
sc/qa/unit/ucalc.cxx
Dosyayı görüntüle @
f3f71d1d
...
@@ -137,8 +137,6 @@ ScDocShell& Test::getDocShell()
...
@@ -137,8 +137,6 @@ ScDocShell& Test::getDocShell()
void
Test
::
setUp
()
void
Test
::
setUp
()
{
{
osl_clearEnvironment
(
OUString
(
"SC_BACKGROUND_COMPILATION"
).
pData
);
BootstrapFixture
::
setUp
();
BootstrapFixture
::
setUp
();
ScDLL
::
Init
();
ScDLL
::
Init
();
...
...
sc/source/core/data/formulacell.cxx
Dosyayı görüntüle @
f3f71d1d
...
@@ -415,18 +415,14 @@ ScFormulaCellGroup::ScFormulaCellGroup() :
...
@@ -415,18 +415,14 @@ ScFormulaCellGroup::ScFormulaCellGroup() :
mbSubTotal
(
false
),
mbSubTotal
(
false
),
meCalcState
(
sc
::
GroupCalcEnabled
)
meCalcState
(
sc
::
GroupCalcEnabled
)
{
{
static
bool
bBackgroundCompilation
=
getenv
(
"SC_BACKGROUND_COMPILATION"
)
!=
NULL
;
if
(
ScInterpreter
::
GetGlobalConfig
().
mbOpenCLEnabled
)
if
(
bBackgroundCompilation
)
{
{
if
(
ScInterpreter
::
GetGlobalConfig
().
mbOpenCLEnabled
)
osl
::
MutexGuard
aGuard
(
getOpenCLCompilationThreadMutex
());
if
(
snCount
++
==
0
)
{
{
osl
::
MutexGuard
aGuard
(
getOpenCLCompilationThreadMutex
());
assert
(
!
sxCompilationThread
.
is
());
if
(
snCount
++
==
0
)
sxCompilationThread
.
set
(
new
sc
::
CLBuildKernelThread
);
{
sxCompilationThread
->
launch
();
assert
(
!
sxCompilationThread
.
is
());
sxCompilationThread
.
set
(
new
sc
::
CLBuildKernelThread
);
sxCompilationThread
->
launch
();
}
}
}
}
}
}
}
...
...
sc/source/core/tool/formulaopt.cxx
Dosyayı görüntüle @
f3f71d1d
...
@@ -412,10 +412,9 @@ void ScFormulaCfg::UpdateFromProperties( const Sequence<OUString>& aNames )
...
@@ -412,10 +412,9 @@ void ScFormulaCfg::UpdateFromProperties( const Sequence<OUString>& aNames )
{
{
sal_Bool
bVal
=
GetCalcConfig
().
mbOpenCLEnabled
;
sal_Bool
bVal
=
GetCalcConfig
().
mbOpenCLEnabled
;
pValues
[
nProp
]
>>=
bVal
;
pValues
[
nProp
]
>>=
bVal
;
#if 0 // Don't remove please
unless the SC_BACKGROUND_COMPILATION env var thing goes away
.
#if 0 // Don't remove please.
// The intent here is that tml when running CppunitTest_sc_opencl_test turns this on.
// The intent here is that tml when running CppunitTest_sc_opencl_test turns this on.
if (getenv("SC_BACKGROUND_COMPILATION") != NULL)
bVal = sal_True;
bVal = sal_True;
#endif
#endif
GetCalcConfig
().
mbOpenCLEnabled
=
bVal
;
GetCalcConfig
().
mbOpenCLEnabled
=
bVal
;
}
}
...
...
Write
Preview
Markdown
is supported
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